I am developing a form(PHP) that will accept some data. The data will be displayed on a web page. However, before it is displayed, a moderator of the site has to grant permission to display the data. The way it works 1) A user logins to the site and enters data and waits for moderator permission. 2) The moderator logs in and should be able to view all the data(in the form of rows) that are waiting for his/her permission. 3)Based on different validity criteria, some data can be accepted and some can be deleted. 4) The data that gets accepted goes into a MySQL database whereas the data that gets rejected will not be stored in the database.
Can somebody please explain (with some starting code if possible) on how to implement the above functionality.