2nd Pass of array empty

From: Date: Thu, 30 Aug 2001 08:03:36 +0000
Subject: 2nd Pass of array empty
Groups: php.general 
Request: Send a blank email to php-general+get-65177@lists.php.net to get a copy of this message
I have some code which loops through a n array using a for loop. This works fine but if I try to loop through the array again in the same script the array seems to be empty (i,e, the loop douse not do any interations). Do I need to reset the array pointer at the begining? Is there something else I need to do? Regards, Ben

« previous php.general (#65177) next »