码-
$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?
开心每一天1111
慕村225694