PHP 如何判断记录集为空实例 $result = mysql_query(“SELECT * FROM table1″, $link);$num_rows = mysql_num_rows($result);if ($num_rows==0){echo “记录集为空”;} php 2023-04-03 57 点赞 0 评论 86 浏览