forked from science-ation/science-ation
Oops - correcting a query
This commit is contained in:
parent
887610f5e3
commit
342dbe6cad
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user