Hi, I have a form using the post method that outputs a dynamic number of
fields each time with the same name but different values - this is required.
For example ...

filename[]
filename[]
filename[]
filename[]

On the next page I try to access the array using ...

for($i=0; $i<count($filename); $i++) {
$value = $filename[$i];
do something with $value ...
}

but $filename[0], $filename[1], $filename[2], etc each contain one letter
from the word "Array" if there were say five items in the array!? What am I
doing wrong and/or how do I get the actual values?



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

Reply via email to