Hi
http://www.php.net/manual/en/control-structures.php
for example :
if ($firstname == "Eduardo" && $lastname == "Melo") {
print ("I know you")
}
else {
print ("I don't know you");
}
Regards
Girish
--
www.girishnath.co.uk
----- Original Message -----
From: "Eduardo Melo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 6:30 PM
Subject: [PHP] if command
Someone knows how to use the IF command ?
I need two expressions as such as IF (exp1 AND exp2) ...
thank's
eduardo melo
computer programmer
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
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]
--
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]