Re: testing for < 0
| From: | Niels Andersen | Date: | Sat, 01 Mar 2003 12:45:24 +0000 |
| Subject: | Re: testing for < 0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137686@lists.php.net to get a copy of this message | ||
Data from POST is a hash table of strings, so you should use this to check
for zero:
if ($_POST['field'] == "0")
// Zero was entered