2012-04-09, 07:12 PM
hi all, i have a check box array.
when i get value using mybb->input after form post, it gives only one value.
how to get form array.
sample check boxes are as following.
<input type="checkbox" name="em[]" id="1" value='[email protected]'/> 1 <br />
<input type="checkbox" name="em[]" id="2" value='[email protected]' /> 2 <br />
<input type="checkbox" name="em[]" id="3" value='[email protected]' /> 3 <br />
when i get value using mybb->input after form post, it gives only one value.
how to get form array.
sample check boxes are as following.
<input type="checkbox" name="em[]" id="1" value='[email protected]'/> 1 <br />
<input type="checkbox" name="em[]" id="2" value='[email protected]' /> 2 <br />
<input type="checkbox" name="em[]" id="3" value='[email protected]' /> 3 <br />