OK, here is a snippet from my code:
$strSQL = mysql_query("SELECT * FROM $table ORDER BY id DESC");
$num=mysql_numrows($strSQL);
mysql_close();
$i=0;
while ($i < $num) {
$col1=mysql_result($strSQL,$i,"col1");
$col2=mysql_result($strSQL,$i,"col2");
$col3=mysql_result($strSQL,$i,"col3");
$id=mysql_result($strSQL,$i,"id");
...then echo the results, and one of the loops under the results is:
echo "<a href=\"delete.php?id=".$_GET['id']."\">Delete</a>";
As I said, something is missing here. Also, I have had to resort to calling a delete file which does the delete from mysql as I cannot figure out where to put the delete array.
Any ideas?