Here is my question:
I have an approval page for user submitted entries to my site.
The approval page has two radio buttons for each entry (approve or deny).
How can I make those radio buttons update the database table to ‘approved’ or ‘denied’?
I have jQuery and would love to use that and the .post() function, just not sure on how that works.
Thanks in advance!
UPDATE: I understand that I was vague, that is not intended.
I don’t need the PHP processing, I just need to know how to submit the information to my PHP file using jQuery.
This is a vague question but generally speaking, in your backend server, you need to setup a script that can inspect the content of a post request, extracts the ids of each record that has to update and then perform an update sql statement on the target table.
UPDATE