Menu
Hi i am trying to create a select statement for my login form but i keep getting error messages.
the variable i am using is:
[code=php]$user = $_POST[‘user’];
and the select statment is:
[code=php]$sql = “SELECT username, password FROM users WHERE username = $user”;
Can anybody tell me where i am going wrong
Daniel ?