note 22391 added to function.empty
| From: | div85 at hotmail dot com | Date: | Sun, 16 Jun 2002 19:50:35 +0000 |
| Subject: | note 22391 added to function.empty | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31919@lists.php.net to get a copy of this message | ||
******************************
*********this actually works********
******************************
all this notes about finding the contents of a field in a form are useless cuz the actual thing is
that a field is set to the string "none" if there's is no imput so do u like this
$f2 = "$userfile";
if("$f2" != "none"){
$Picture1 = "T";
}else {
$Rate1 = "F";
$Picture1 = "F";
}
and this works unlike all those above!
--
http://www.php.net/manual/en/function.empty.php
http://master.php.net/manage/user-notes.php?action=edit+22391
http://master.php.net/manage/user-notes.php?action=delete+22391
http://master.php.net/manage/user-notes.php?action=reject+22391