I need to insert more than one values in checkbox but now it is seemed to be only the last value am entering is inserting to database.
this is my HTML code
If you want to save multiple values in database then you need to create multiple checkboxes in html and then save the values with implode() method as below:-
Value1 Value2 Value3
now to store in database you can use implode() method.
$values=implode(",",$_POST['product']);
now store the $values in the database.