03-03-2008, 01:46 PM
|
#8 (permalink)
|
|
The Frequenter
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
|
PHP Code:
if ( ( $a == 'user' ) && ( $b == 'pwd' ) ) { echo 'correct'; }
That is what it should be. The && can be referred to as "AND EQUAL" and || can be referred to as "OR". Same goes for the and - and or.
__________________
"Life is a bitch, take that bitch on a ride"
|
|
|