这样写对吗?
$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.
发布时间: 2012-06-05 13:54:06 作者: rapoo
这样写对吗?
$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.