Dear all,
How to insert multiple values selected in checkbox in database.
Thanks
How to insert multiple values selected in checkbox in database
60096 27-Mar-2012
Home / DeveloperSection / Forums / How to insert multiple values selected in checkbox in database
Phagu MAhato
27-Dec-2013amy ya
23-Sep-2013Anonymous User
29-Mar-2012In this code, you've done a little mistake in 'form.php' file. Replace your code with following code:
'form.php' Code:
Please marked as answer if this code will solve your problem.
pintu nayak
28-Mar-2012I want to insert the values of the checkbox when checked and then click the button.After clicking the button all the checked checkbox values will be inserted into the database.
My code
form.php
checkbox.php
config.php
Please help me iam new to php.
Thanks
Anonymous User
28-Mar-2012If you are talking about group of checkbox with same name and you want to insert values of those checkbox which is checked, then you have to write following script to retrive values of those checkbox.
If this is not correct answer then please clarify your question that what you want to do with multiple checkbox in php.