Re: each() bug? Can you try this to verify?
| From: | Hans H. Anderson | Date: | Sat, 26 Aug 2000 00:30:34 +0000 |
| Subject: | Re: each() bug? Can you try this to verify? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13768@lists.php.net to get a copy of this message | ||
Everyone,
Thanks. I've been banging my head on that one for a couple of hours, and
reset() does do it. I guess I hadn't ever had the need to each() through
a hash twice in a script before, weird considering I've been PHPing since
early 2.0!
Now I can crack open that beer without having each() on my mind all night.
;-)
Hans
On Fri, 25 Aug 2000, Joao Prado Maia wrote:
>
> Don't you need to reset() the array before using it again ?
Hans Anderson ~ me@hansanderson.com
PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL
(800)397-9116 / (406)549-6524 | Databases, Flash Multimedia,
http://www.hansanderson.com | Killer Audio Production,
http://www.goofiness.com | Minty Fresh Breath.