[PHP] Why Arrays in Forms? ( Was "Accessing variables from a form" )

2001-02-21 Thread Brian White
Why do you have to specify multi-value fields in HTML forms specifically as PHP arrays? It seems incompatible with other CGI languages, and could make it difficlt to chop and change CGI engines in the background. At 19:08 21/02/2001 +0200, Pavel Jartsev wrote: >If you create your fields like thi

Re: [PHP] Why Arrays in Forms? ( Was "Accessing variables from a form" )

2001-02-21 Thread David Robley
On Thu, 22 Feb 2001 08:24, Brian White wrote: > That's the point - why do I have to have 'name="myArray[]"'. Why > do I have to specify the '[]'s at all? > > Brian > > At 13:44 21/02/2001 -0800, jason cox wrote: > >You don't have to specify them as "PHP arrays". You > >can do something like: > >

Re: [PHP] Why Arrays in Forms? ( Was "Accessing variables from a form" )

2001-02-21 Thread Brian White
That's the point - why do I have to have 'name="myArray[]"'. Why do I have to specify the '[]'s at all? Brian At 13:44 21/02/2001 -0800, jason cox wrote: >You don't have to specify them as "PHP arrays". You >can do something like: > > > > > > >PHP will create the array for you. > >Jason --

Re: [PHP] Why Arrays in Forms? ( Was "Accessing variables from a form" )

2001-02-21 Thread jason cox
You don't have to specify them as "PHP arrays". You can do something like: PHP will create the array for you. Jason --- Brian White <[EMAIL PROTECTED]> wrote: > Why do you have to specify multi-value fields in > HTML > forms specifically as PHP arrays? > > It seems incompatible with othe