note 24755 added to function.next
| From: | cfang at earthlink dot net | Date: | Tue, 27 Aug 2002 20:53:12 +0000 |
| Subject: | note 24755 added to function.next | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35785@lists.php.net to get a copy of this message | ||
The next() doesn't work on an array that is assigned as session variable. The repeated call to
next($array) always return the 2nd element if called in different session. I was forced to use
explicit index and define the index as another session variable.
--
http://www.php.net/manual/en/function.next.php
http://master.php.net/manage/user-notes.php?action=edit+24755
http://master.php.net/manage/user-notes.php?action=delete+24755
http://master.php.net/manage/user-notes.php?action=reject+24755