那是因为数组代表返回结果集中的一行。您需要再次执行该
mysql_fetch_array()功能以获得下一条记录。例:
while($data = mysql_fetch_array($array)) { //will output all data on each loop. var_dump($data);}
那是因为数组代表返回结果集中的一行。您需要再次执行该
mysql_fetch_array()功能以获得下一条记录。例:
while($data = mysql_fetch_array($array)) { //will output all data on each loop. var_dump($data);}