This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
l
loze
Post
by loze »
who do i check if $var isset ? As in php isset($var);
if {$var == ""} // doesnt work.
-
Petersen
- Owner
- Posts: 685
- Joined: Thu Sep 27, 2001 8:00 pm
- Location: Blackpool, UK
Post
by Petersen »
catch {set var}
returns 0 if its set, 1 if it isnt. (note: don't use $ before the varname)
or info exists var
returns 1 if its set, 0 if it isnt.
<font size=-1>[ This Message was edited by: Petersen on 2002-05-31 13:07 ]</font>