Hi all i got a form with a few checkbox on it. User select a few of checkboxes and and press a button to write their values to db. But i do not know how to write it to mysql db. I be happy if an expert help me with that.Thanks
Note:Assuming the table has one columns which is for id value
code for check box form
Code:
<form action="./write.php" method=post >
<input type="checkbox" name="id" value="1"
<input type="checkbox" name="id" value="2"
<input type="checkbox" name="id" value="3"
<input type="submit" value="Add this/these Songs to my PlayList" name="B1">