On Wed, 2005-07-06 at 20:23 +1000, Dan Rossi wrote: > On 06/07/2005, at 7:55 PM, Ross wrote: > > > I have been using empty in forms for some time now. but have just > > discovered > > that > > > > PHP 4 As of PHP 4, The string value "0" is considered empty. > > > > > > > > > > If ($string == '') ?? > > or if (isset($string)) ?? > $string may be defined and still be empty ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php