嗨,我的 PHP 查询遇到问题,
每当我使用下面写的查询时,但在 BD 中找到一行
$txtx = "nope";
$query = "SELECT * FROM `users` WHERE `uname`='Shabi RoxX' AND `pass`='$txtx'";
当我像这样写“不”时
$txtx = "<script>document.write(String.fromCharCode(110,111,112,101));</script>";
$query = "SELECT * FROM `users` WHERE `uname`='Shabi RoxX' AND `pass`='$txtx'";
此查询找到 0 行,但是都打印/回显相同的字符串?怎么了?