还是不太理解$salt的作用啊,感觉有没有它都行
还是不太理解$salt的作用啊,感觉有没有它都行
还是不太理解$salt的作用啊,感觉有没有它都行
2017-10-26
mysqli_select_db($link,'test1') or die('Database Open Error');
$sql="select id,username,password from user where username='{$username}' && password='{$password}'";
提示错误:king665525c23c8f84a27367d1c86bec4935Error: 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 '\'king\' && password=\'665525c23c8f84a27367d1c86bec4935\'' at line 1
求解
举报