PHP and MYSQL Question?

VictorM

New member
I'm currently working on my delete function Basically the user clicks a button then A form appears where he can search the database for a specific user , If the user exists then all data of that user is displayed the form displayed has three buttons at the bottom, Search (redirects to search page) Delete(Suppose to delete the user from the database) and Home(Which just redirects back to main page)

So, my question is: How would I go about so that when the delete button is clicked the user gets deleted, I was thinking of writing a function which would do this, however how would I tell the form to execute the function when clicked?
Please specify how would I send the $id of the user to another php file
 
Back
Top