码-$q="SELECT * FROM tbl_quevote WHERE que_id = '".$qid."' and voteby='".$uid."'";$result = $mysqli->query($q) or die(mysqli_error($mysqli));$num_rows = mysql_num_rows($result);echo $num_rows;错误: 警告:mysql_num_rows()期望参数1为资源,第13行的C:\ xampp \ htdocs \ shizin \ voting.php中给出的对象how to check result is empty?
添加回答
举报
0/150
提交
取消