[nycphp-talk] How to pass array when click on "submit" ?

David Mintz vtbludgeon at
Tue Jan 27 11:36:05 EST 2009

>> How to program php script to pass all these above
>> information?"name","position","city","state" and "zip" are all array.
>> Thanks!
>> chad
If city, state etc are all scalars, why do you want an array at all? And if
you do want some or all of the form data wrapped into an array, you might
want to use notation like

<input name="person[name]" type="text" />
<input name="person[zip]" type="text" />

David Mintz

The subtle source is clear and bright
The tributary streams flow through the darkness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the talk mailing list