$str="select content from reply where bookid =".$_GET["recordid"]; echo $str;错误的原因,应该是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 '' at line 1
select content from reply where bookid =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 '' at line 1 语法错了,怎么改呢?
echo $str;错误的原因,应该是sql执行没有返回结果集。
语法错了,怎么改呢?