Erro de undefined constant,por favor ajude! Linha 6: if ($username&&password)
Codigo inteiro
<?php
$username = @$_POST['username'];
$password = @$_POST['password'];
if ($username&&password)
{
$connect = mysql_connect("localhost","root","") or die("Couldn't connect!");
mysql_select_db("phplogin") or die("Couldn't find DB");
$query = mysql_query("SELECT * FROM users WHERE username='$username'");
$numrows = mysql_num_rows($query);
if ($numrows!=0)
{
}
else
die("That user doesn't exist!");
}
else
die("Please enter an username and password!");
?>