here u can run the scripts as above.
www.mydomain.com/advertisement.php?id=1
u can use select statement in the below code
cheers
$result = mysql_db_query($DB, "Delelte from FROM advertisement where id = '$id'");
$row = mysql_fetch_array($result);
while ($id=$row["id"])
{
$id = $row["id"];
$adname = $row["adname"];
print "<tr><td width=\"97\">";
print "$adname</font></td>";
print "<td width=\"45\">";
print "<a href=\"advertisement.php?id=$id&action=delete\" onClick=\"if (check_del()) return true; else return false;\">delete</a></td>";
print "</tr>";
$row = mysql_fetch_array($result);
}
mysql_free_result ($result);
?>