Whats wrong with the above?
Problem with query: UPDATE users SET sessionid=27768e4a7b8a093671bf7c4f1e883ed9 WHERE userid=user
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'a7b8a093671bf7c4f1e883ed9 WHERE userid=user' at line 1
$q = "UPDATE users SET sessionid=".session_id()." WHERE userid=".$_POST['username'];
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users