From 342dbe6cad25410bed4d8167d0efe59f506a0073 Mon Sep 17 00:00:00 2001 From: jacob Date: Tue, 6 Jul 2010 15:47:27 +0000 Subject: [PATCH] Oops - correcting a query --- user_login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_login.php b/user_login.php index 3040c4d..aa19ebb 100644 --- a/user_login.php +++ b/user_login.php @@ -45,7 +45,7 @@ return false; $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 FROM users