[jQuery] Re: PHP Serialize for Checkbox

2007-07-25 Thread David Duymelinck
amircx schreef: hey. i got this : code form id=SenddataForm name=SenddataForm method=POSTinput type=checkbox name=blah value=1input type=checkbox name=blah value=43 /code the problem is that once i serialize that form i get blah=1blah=43 ... i want to get it as array and able to pass it to

[jQuery] Re: PHP Serialize for Checkbox

2007-07-25 Thread Mike Alsup
You need to change the name attribute for those checkbox inputs: input type=checkbox name=blah[] value=1 input type=checkbox name=blah[] value=43 The square brackets are needed for PHP to handle the data as an array. Mike On 7/25/07, amircx [EMAIL PROTECTED] wrote: hey. i got this :