Post: [PHP] SQL Problems
04-04-2013, 09:52 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); So I keep getting a boolean value when I run this MYSQL query. I know mysql_ is deprecated, dont tell me this. Here is the query.

    $checklogin = mysql_query("SELECT * FROM 'usersystem' WHERE email='".$username."' AND password='".$password."'");


I have no idea. My form is posting the correct data, it is being hashed. Its just a problem with the query. When I run the query in phpMyAdmin, it works fine and I get the 1 row I need...

EDIT: Switched everything to mysqli_ still no improvement.
Last edited by | Crayawn | ; 04-04-2013 at 10:12 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo