Hi All,

I new to php trying to do a php page which gets a variables from an html
form
Somehow this if case not working 100%

Is this is a correct format ???

Thanks :)

Andrew


if
(
(($name=="1") and ($passwd=="1") and ($city=="HOU"))
or
(($name=="2") and ($passwd=="2") and ($city=="LAX"))
or
(($name=="3") and ($passwd=="3") and ($city=="TAM"))
)
{

echo "bla bla ..etc.....................................................";

} else {

echo "Access Denied. Please check your password.;

}

?>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to