Oops - correcting a query

This commit is contained in:
jacob 2010-07-06 15:47:27 +00:00
parent 887610f5e3
commit 342dbe6cad

View File

@ -45,7 +45,7 @@
return false; return false;
$user = mysql_escape_string($user); $user = mysql_escape_string($user);
$q = mysql_query("SELECT id, password FROM users WHERE username='$user'"); $q = mysql_query("SELECT id, password FROM accounts WHERE username='$user'");
/* /*
$q = mysql_query("SELECT id,username,password,year,deleted $q = mysql_query("SELECT id,username,password,year,deleted
FROM users FROM users