ok short and sweet. The following code will not delete the entry from the database and nor Dane or myself can figure it out. Help me please
code:
<?
$pid = ($post);
$link=mysql_connect ("localhost", "izayne_admin", "matty") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("izayne_news");
$query = "SELECT * FROM IzzNews";
$result = mysql_query($query, $link);
$num = mysql_numrows($result);
$query = "DELETE FROM IzzNews WHERE NewsNum=".$pid;
?>