Thread: 'OR' statement
View Single Post
Old 03-28-2004, 02:54 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,541
sde is on a distinguished road
it must be the form you are sending it from. show us the code you are using to send it.

i re-created it here: http://codenewbie.com/test.php

Here is the code:
PHP Code:
<?
$_POST
[DisplayPhone] = "9876543210";

if((
$_POST[DisplayPhone] == 0) OR ($_POST[DisplayPhone] == "") OR is_null($_POST[DisplayPhone]))
{
  echo 
"true";
}
else
{
  echo 
"false";
}
?>
__________________
Mike
sde is offline   Reply With Quote