我一直使用mysql_num_rows()收到错误消息,你能帮我找出我的代码出了什么问题吗?<?#[^A-Za-z0-9]#i', '', $_POST["password"]); // filter everything but numbers and letters
// ------- MAKE SURE PERSON EXI
= sprintf("Select * from table where id = %s", $KTColParam1_qry_details);$row_qry_details = mysql_fetch_assoc($qry_details);$totalRows_qry_details = mysql_num_rows($qry_details);
我正在尝试将数据库中的所有记录转换成JSON格式,这样我就可以在来自我的应用程序中使用它了,但是我得到了这个错误<b>Fatal error</b>: Call to a member functionjson data
$conn = new mysqli('localhost','root','') or die(mysql_error