And operator : Boolean Operators « Operator « PHP






And operator

 
<?php 
$user = "D"; 
$pass = "a"; 
if ($username == $user && $password == $pass) { 
    print "Welcome to $username."; 
} 
?>
  
  








Related examples in the same category