I want to know how to get input from a user. I am retrieving information from a DB, and depending on the data, I need to do 1 of 2 things, either approve the data, or move it to another table and delete it. Approving the data is as simple as changing a field in the table from a 0 to a 1. I need 2 buttons, but don't know how to make a button, or get any input at all, using PHP.
ok - create your html input buttons. have them in a form - that posts to the same url but with a querystring ?posted=true in the top of your page, have some php code to detect if posted = true, if it is then do an update query, and display a message - otherwise display the form.