// BEGIN DELETE FILM $filmid=$delid; echo("

text filmid = :" . $filmid . "

"); settype($filmid, "integer"); echo("

integer filmid = :" . $filmid . "

"); $result = mysql_query("DELETE FROM filmdata WHERE ID = $filmid"); if ($result) { echo("

The film has been deleted.

"); echo("sleeping 5"); sleep(5); } else { echo("

Error deleting film: " . mysql_error() . "

"); } exit(); // END OF DELETE FILM