note 26793 added to function.isset
| From: | andrew-e at attbi dot com | Date: | Wed, 13 Nov 2002 02:02:08 +0000 |
| Subject: | note 26793 added to function.isset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39424@lists.php.net to get a copy of this message | ||
A good example of isset is would be if you only wanted to use a variable if it was submitted from a
form:
if (isset($variable))
{
echo "$variable";
}else{
echo "The variable was not set."
}
Andrew "Slicevicious" Eddy
--
http://www.php.net/manual/en/function.isset.php
http://master.php.net/manage/user-notes.php?action=edit+26793
http://master.php.net/manage/user-notes.php?action=delete+26793
http://master.php.net/manage/user-notes.php?action=reject+26793