note 10344 added to empty
| From: | ohshutup at zdnetmail dot com | Date: | Fri, 29 Dec 2000 11:35:38 +0000 |
| Subject: | note 10344 added to empty | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9179@lists.php.net to get a copy of this message | ||
Using NT and IIS if a variable is not defined then it of course is empty.
I was getting an undefined error so isempty fixed that problem. Just checked to see if it was empty
and if so then I assumed either it is empty or it is undefined so I define it at that point (I was
using a form and the errant variable of course was not defined upon posting)
Yippeeee :-)
http://www.php.net/manual/function.empty.php