for ($i=0;$i<$_POST[count];$i++) { echo $_POST['address' . $i] . '<br>'; }
Concanate array key 'address' with $i -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Jeff Hatcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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] } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php