Thread: 'OR' statement
View Single Post
Old 03-28-2004, 10:26 PM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,735
redhead is on a distinguished road
hmmm... maybe you could try:
PHP Code:
 <? 
$_POST
[DisplayPhone] = "9876543210"

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

  echo 
"true"

else 

  echo 
"false"

?>
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote