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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to