Hi Andrea,
Thanks for your responses.
The output from echo 'pre', var_dump($_POST['Colors']), '/pre';
is -- string(5) Array
I am using php version 5.2.10.
It is strange that you posted the same array and ran the implode function ok
? That has me baffled. I am several forms within the
I just realised I have get_magic_quotes_gpc turned on and was not catering
for arrays.
Thanks for your time.
Adam
Andrea Giammarchi-3 wrote:
so it's simple, it's not an array, but your assignment magically makes it
an array since you wrote iterate over the array ... very, very clear,
Hi all,
I have a form that has has an array of information. Mulitple checkboxes can
be selected.
Choose the colors:
input type=checkbox name=Colors[] value=green checked=checked /
Green
input type=checkbox name=Colors[] value=yellow / Yellow
input type=checkbox name=Colors[] value=red / Red
3 matches
Mail list logo