phpPHP 如何判断记录集为空实例 1月 7, 2010 - by 欧阳逍遥 - Leave a Comment $result = mysql_query(“SELECT * FROM table1”, $link); $num_rows = mysql_num_rows($result); if ($num_rows==0){ echo “记录集为空”; }