[PHP] Re: Problem with pointer in result handle

2003-03-17 Thread Blaine
I resolved the problem by using the mysql_data_seek function to set the pointer to the first record. mysql_data_seek($rsCommunitiesServed, 0); Blaine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Problem with pointer in result handle

2003-03-17 Thread Jason Wong
On Tuesday 18 March 2003 14:50, Blaine wrote: [snip] > So, what I need to do is move the internal pointer of the result handle > back to the first row of the result set. How can I do this? mysql_data_seek() -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems I

[PHP] Re: Problem with pointer in result handle

2003-03-17 Thread Blaine
I've discovered that it is not the pointer in the array that I am having problems with but rather the pointer in the result handle. From what I gather, when a mysql_fetch function (mysql_fetch_row, mysql_fetch_assoc, mysql_fetch_array) retrieves a row from the result handle (In this case it is