while($info = mysql_fetch_assoc($result))

while($info = mysql_fetch_assoc($result)){

var_dump('one time');

}

====

每次只取出一行数据,一共打印出了n次,有多少行数据就打印出多少次。

posted @ 2015-05-04 12:56  qqisnow2021  阅读(227)  评论(0)    收藏  举报