1 2 3 4 5 6 7 8 9 10 11 12
<? require("configure.php"); ?><?$faqid = $_GET["faqid"];$sql = "DELETE FROM faq WHERE faqid=". $faqid ." ";mysql_query($sql);mysql_close($dbh);header("Location: faqindex.php?msg=Update Successful");?>