note 8544 added to Variable Functions
| From: | jon at cph dot georgetown dot edu | Date: | Sat, 16 Sep 2000 11:46:17 +0000 |
| Subject: | note 8544 added to Variable Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5103@lists.php.net to get a copy of this message | ||
Problem:
I have a form submit n variables of the form $ss_1, $ss_2, ... , $ss_n . I now want to write a
while loop that can go through and access each of these variables sequentially, but php won't
recognize $ss_$i as a variable or $"ss_$i" as a variable where $i is the number of times
through the while loop. Does anyone know how to get around this?
thanks.
-Jon Mormino
jon@cph.georgetown.edu
http://www.php.net/manual/ref.var.php