Consider the following form in a HTML file:
...
input type=checkbox name=box value=1
input type=checkbox name=box value=2
input type=checkbox name=box value=3
input type=checkbox name=box value=4
...
Now I'm posting this form into a PHP script. The problem is I can't change
that HTML file.
Consider the following form in a HTML file:
...
input type=checkbox name=box value=1
input type=checkbox name=box value=2
input type=checkbox name=box value=3
input type=checkbox name=box value=4
...
Now I'm posting this form into a PHP script. The problem is I can't
change
[...snip...]
Which means I can't modify the code above into PHP prefered
style:
input type=checkbox name=box[] value=1
input type=checkbox name=box[] value=2
[...snip...]
Why is this the preferred style, and where can I read more about it?
Frode Lillerud, Norway
--
PHP General
- Original Message -
From: Frode [EMAIL PROTECTED]
[...snip...]
Which means I can't modify the code above into PHP prefered
style:
input type=checkbox name=box[] value=1
input type=checkbox name=box[] value=2
[...snip...]
Why is this the preferred style, and where can I read more
4 matches
Mail list logo