First time I am trying to use jquery ajax in my php code.
I have a collection of checkboxes. According to my checked checkboxes, the mysql query will be built and it will be showing in my page. Could you please help me how to go forward?
Thanks.
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.
Look at the manual
jQuery.ajax(). There you have several examples as well.You must collect your checkboxes values and then send that to your PHP script
See the jQuery API for more options you can use.
On the server side, you evaluate the
$_POSTvariable as with any other request.