RE: [PHP] check for variable value but need 0 to be good ?
| From: | Craig Vincent | Date: | Tue, 01 Aug 2000 18:59:19 +0000 |
| Subject: | RE: [PHP] check for variable value but need 0 to be good ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9518@lists.php.net to get a copy of this message | ||
> Make -1 the default, then compare the input against -1.
I think isset() would be a much more effecient approach.
Sincerely,
Craig Vincent
-------------------------
Senior Programmer
Jazzmonkey Media Inc.
http://www.jazzmonkey.com
-------------------------