Note Submitter: tac at smokescreen dot org
----
Related to resetting an array is resetting a result set back to the beginning, so you can loop through it again. To do that, use
mysql_data_seek($result, 0)
I use this often when debugging -- do a query, print it out, then loop through it a second time to process. I'm adding this here under Reset because that's where I originally looked for this functionality.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.