note 17001 added to function.next
| From: | rebel_inside at php2 dot chek dot com | Date: | Wed, 21 Nov 2001 20:04:53 +0000 |
| Subject: | note 17001 added to function.next | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21120@lists.php.net to get a copy of this message | ||
a poor way to solve it...
$counter = 0;
while (next($xarray))
{
if ($counter==0) { reset($xarray); }
...
[some code]
...
$counter++;
}
--
http://www.php.net/manual/en/function.next.php
http://master.php.net/manage/user-notes.php?action=edit+17001
http://master.php.net/manage/user-notes.php?action=delete+17001
http://master.php.net/manage/user-notes.php?action=reject+17001