Вот код
PHP |
$sql = "SELECT * FROM `allday`.`chat_users` WHERE user = '".$_POST['user']."',pass = '".$_POST['pass']."'"; |
SQL |
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 'pass = 'dsfa'' at line 1 |