$sel1 = mysql_query ("SELECT ID, name, locale, lastlogin, gender,
FROM USERS_TABLE
WHERE (name = ’$user’ OR email = ’$user’) AND pass = ’$pass’");
I tried logging in with the user as (with the user I want being 'test'):
test')");--
I figured that should eliminate the check for pass but I did not any ideas what I did wrong?