Hello friend, its not working Actually this code only for Echo not for inserting in Mysql using query, tell me about query for inserting data checked Box.
A checkbox is either true (checked) or false (unchecked), so you create a Boolean field in the table and insert True or False, depending on whether the particular checkbox is checked or unchecked. (You can't "insert a checkbox", because "checkbox" is a graphical concept, not some data that can be stored in a database.)