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