now, that is not what I suggested - read the code again.
the part you have referred to is for the second "confirmation" page - note that I also vhanged the other line in the first page.
for the second page, you would list the ids by doing this is the loop:
print $key;
then you can get the records from the DB with that information if you must print it again:
select * from table where id=$key
then print it out
again, you have to change the naming scheme on the second page so you know what id's to delete.
a different (and in my opinion better) way to accomplish all this would be to do a self-processing for and use separate forms for each line and just a have a delete button for each line.