i cannot seem to find the syntax error
Parse error: syntax error, unexpected T_VARIABLE on line 24
18 $user = $_REQUEST['username'];
19 $pass = $_REQUEST['password'];
20
21 $user = mysql_real_escape_string($_REQUEST['username']);
22 $pass = mysql_real_escape_string($_REQUEST['password']);
23
24 $query = 'SELECT * FROM user, user WHERE '$user' = username AND '$pass' = password';