Error When Submitting Checkbox To Mysql
I have the following php code for submitting the form to the database the only problem is with the checkboxes ... on submitting the form this shows up Warning: join() [function.joi
Solution 1:
Your checkboxes should be in the form of an array...
<inputtype="checkbox"name="ckb[]"value="strenthofmaterials";><labelfor="StrengthofMaterials"> Strength Of Materials </label><inputtype="checkbox"name="ckb[]"value="dynamics";><labelfor="StrengthofMaterials"> dynamics </label>
Note : It is ckb[]
instead of just ckb
Post a Comment for "Error When Submitting Checkbox To Mysql"