I have a link going to 'deletepost.php' from my admin page. There is a link such as this:
However, when I click that link, I always get my 'Deletion Failed' message. Any ideas?
$postID = $_GET['postID'];
$postID = intval($_GET['postid']);
$delete = "DELETE * FROM posttbl WHERE postID=$postID";
$dbcnx = mysql_connect("localhost", "****", "****");
$delete = mysql_query($delete);