First, your table needed to have a primary key, to identify the rows.
Name it for example: table_id
Your printing the values with a while cycle,
add a table cell, with a link:
print "<a href=\"index.php?todo=del&table_id=". $row['table_id']."\">Del</a>";
Then in your program, lets check if the $GET['todo'] is del and $GET['table_id'] has a value. IF yes, you can now create an SQL DELETE command to delete the record with its primary key number. Its suggested to make a confirmation page (on client or server side).