Thread: 'OR' statement
View Single Post
Old 03-28-2004, 02:08 PM   #1 (permalink)
spinhead
Registered User
 
Join Date: Mar 2004
Posts: 1
spinhead is on a distinguished road
'OR' statement

Any idea why this statement evaluates to TRUE when $_POST[DisplayPhone] is 9876543210 ?

if (($_POST[DisplayPhone] == 0) OR ($_POST[DisplayPhone] == "") OR is_null($_POST[DisplayPhone]))

thanks

spinhead
spinhead is offline   Reply With Quote