note 8573 added to mysql_fetch_array

From: Date: Mon, 18 Sep 2000 04:32:01 +0000
Subject: note 8573 added to mysql_fetch_array
Groups: php.notes 
Request: Send a blank email to php-notes+get-5155@lists.php.net to get a copy of this message
Question: Can you reset the array coming back from mysql_fetch_array()? When I attempt to do so it complains that the array variable that I assign to the function is not an array. However I do cycle through the array without problems. Could some one give an example where they loop through the array twice. The first loop is set from the mysql_fetch_array() function then reset function is called and then the array is looped through only using the array. http://www.php.net/manual/function.mysql-fetch-array.php

« previous php.notes (#5155) next »