View Single Post
Old 08-30-2005, 02:46 PM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
ok, did you catch what redhead said?
PHP Code:
if ($ravvarone $cust_variableone && $ravvartwo $cust_variabletwo
you are assigning values in your 'if' statement. when you assign values in an if statement, it is usually always going to return true.

as he suggested, didn't you mean to check for equality with == ?

in example:
PHP Code:
if ($ravvarone == $cust_variableone && $ravvartwo == $cust_variabletwo
__________________
Mike
sde is offline   Reply With Quote