I would like a checkbox with the text populated by the sql database then stored in ajax.
How can I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The generating radio buttons in php should be something like the following:
The storing in AJAX part is a bit confusing. AJAX is a way of doing a subpage request. See here.
So if you want to store with ajax you have to build a PHP page which receives the data and puts it in the database. The easiest way to do this is posting the entire form with the data via an ajax request. Check it out here. Good luck with your endeavors!