while($rows = mysql_fetch_row($resul)){//使用while遍历所有记录,并显示在表格的tr中for($i = 0; $i < count($rows); $i++)$lastone=$rows[$i];}//这是什么意图,循环了这么多次,$lastone都被最后一次覆盖了吧
php查询mysql最后一个数据
while($rows = mysql_fetch_row($resul)){//使用while遍历所有记录,并显示在表格的tr中for($i = 0; $i < count($rows); $i++)$lastone=$rows[$i];}//这是什么意图,循环了这么多次,$lastone都被最后一次覆盖了吧2014-07-05