I have a bit of code that I use to display a list of records from the database.
It works fine but I would like to add a "delete" link to it where I can click on the link that I want to delete and it then gets deleted.
Can someone help please?
Here's the code
$connection = mysql_connect("localhost","username","password");
$result = mysql_query("SELECT * FROM my-table");
while($row = mysql_fetch_array($result))