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