Re: Stepping through an array more than once
| From: | Richard Lynch | Date: | Fri, 30 Aug 2002 23:50:05 +0000 |
| Subject: | Re: Stepping through an array more than once | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114724@lists.php.net to get a copy of this message | ||
>Now, obviously this only echoes the first part, as it seems the array is
>at the end when it tries to loop through again.
>I tried a reset($myrow_it) , but it drops an error about $myrow_it not
>being an array.
It's not an array, it's a MySQL result identifier.
You want http://php.net/mysql_data_seek or somesuch.
--
Like Music? http://l-i-e.com/artists.htm