I want to have the ability to show all the entries in a database table and by each one give the user the ability to delete specific ones.
I am currently using a for each
You can do it with forms:
//main.php
Recent Posts
//delete.php:
Or you can do it with jQuery and AJAX:
//main.php
Recent Posts
//delete.php
It's all untested and sure needs some adjustment for your specific project, but I think you get the idea and I hope it helps.
Next time, please post your schema if you ask stuff about database.