= 2) { $asset_id = $_GET['asset_id']; mysql_query("DELETE FROM asset WHERE asset_id='$asset_id'") or die(mysql_error()); mysql_query("DELETE FROM node WHERE asset_id='$asset_id'") or die(mysql_error()); header("Location: asset.php"); // end display only if admin } include("footer.php"); ?>