I got it working like this:

$counter = 0;
foreach ($arr as $value) { //make the form
...
print "<input type=\"text\" name=\"ArrUpdate[$counter][]\" value 
=\"$value[0]\">\n";

$counter++;
....
}

Now I have array $ArrUpdate which contains sub-arrays with the update data. 
This can now be processed with another foreach loop

-Will


"Jochem Maas" <[EMAIL PROTECTED]> kirjoitti 
viestissä:[EMAIL PROTECTED]
> Németh Zoltán wrote:
>> And how does it work? does it create a sub-array of $_POST?
>
> test it and find out:
>
> echo '<pre>'; var_dump($_POST); echo '</pre>';
>
>> And is it documented somewhere in the manual?
>
> more than likely. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to