[nycphp-talk] How to pass array when click on "submit" ?
David Mintz
vtbludgeon at gmail.com
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
http://davidmintz.org/
The subtle source is clear and bright
The tributary streams flow through the darkness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20090127/6b83228e/attachment.html>
More information about the talk
mailing list