日期:2014-05-17  浏览次数:20446 次

这样写对吗?
$pvrow=mysql_fetch_array($result);
if($pvrow)
{

这样能表达出 当mysql_fetch_array有内容时候才进行下面的执行

------解决方案--------------------
没问题, 没有了就会返回false。

Returns an array of strings that corresponds to the fetched row, or FALSE if there are no more rows.