"; } elseif ($delete) { // Line 30 // delete a record $sql = "DELETE FROM Downloads WHERE id=$id"; $result = mysql_query($sql); echo "$sql Record deleted!

"; } else { // this part happens if we don't press submit if (!$id) { // Line 37 // print the list if there is not editing $result = mysql_query("SELECT * FROM Downloads",$db); while ($myrow = mysql_fetch_array($result)) { // Line 40 printf("%s %s \n", $PHP_SELF, $myrow["id"], $myrow["id"], $myrow["Title"]); printf("(DELETE)
", $PHP_SELF, $myrow["id"]); } } ?>

ADD A DOWNLOAD

Title:
Description:
Link:
Category: