amircx schreef:
hey. i got this :
<code> <form id="SenddataForm" name="SenddataForm" method="POST"><input
type="checkbox" name="blah" value="1"><input type="checkbox" name="blah"
value="43">

 </code>

the problem is that once i serialize that form i get blah=1&blah=43 ... i
want to get it as array and able to pass it to php in that way?: blah[0]=1&blah[1]=43

(so ill be able to be do foreach ($_POST[blah] as...)

anyone can help?

you have to change the checkbox name to blah[] and then you can get the values with foreach($blah as $bla).

--
David Duymelinck
________________
[EMAIL PROTECTED]

Reply via email to