Thread
:
'OR' statement
View Single Post
03-28-2004, 11:43 PM
#
4
(
permalink
)
Epsilon
Regular Contributor
Join Date: Mar 2003
Location: Las Vegas, NV
Posts: 131
If I'm not mistaken, couldn't it be simplified to this?
Code:
if(!$_POST[DisplayPhone]){...}
This will evaluate to true if $_POST[DisplayPhone] is 0 or an empty string, and false otherwise.
__________________
--Epsilon--
Epsilon
View Public Profile
Visit Epsilon's homepage!
Find More Posts by Epsilon