Array in a Loop Question
| From: | Jeff Hatcher | Date: | Tue, 26 Mar 2002 18:18:01 +0000 |
| Subject: | Array in a Loop Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90238@lists.php.net to get a copy of this message | ||
I have a form that gets repeated depending on number of members in a
group(1 form surrounds all members). I separate the entries by assigning
a count value to the names of the inputs (Ex. <input type=text
name=address$count value=>). Does anyone know how I can pull the values
back out of the $_POST[]?
Example of ideal scenario that does not work:
case "process1":
for ($i=0;$i<$_POST[count];$i++)
{
$_POST[address$i]
}