You can see the project working on this – Live demo
In this tutorial I use a boxer theme, but you can change the table to suit whatever project you are working on. The first step is to create a database (if you have not done so already) and a table. The table I have created can be copied/pasted from the Github Gist below and run in PHP MyAdmin:
The images will not display after you run the SQL and install the PHP files. I recommend you delete all the records from the font-end of the website once the table is created. This will also give you the opportunity to see if the delete function is working.