Reply to Distinguishing between an empty string and "0"
Posted by laredotornado@zipmail.com on 11/19/92 11:47
Hi,
If I have a $_REQUEST variable that contains either the value "" or
"0", the empty($_REQUEST['myvar']) call returns the same thing -- 1.
How can I distinguish between these values without causing any errors
or warnings (notices)?