traverse an array while assigning to Incrementing variable labels
| From: | Info@Best-IT | Date: | Sat, 22 Mar 2003 22:24:07 +0000 |
| Subject: | traverse an array while assigning to Incrementing variable labels | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26563@lists.php.net to get a copy of this message | ||
I get this error when I use $i=0; in multiple functions to create a while
loop:
Fatal error: Only variables can be passed by reference
I need to:
increment variable labels
use the value of "i" to iterate through arrays using a while loop.
How do I do this?
/T