Location: PHPKode > projects > RadMacLab > radmaclab/admin/del_machine.php
<?php

include ('includes/func_vars_inc.php');
include ('includes/auth_check.php');


$sql  = "DELETE FROM `machines` WHERE `machineID` = '".$_POST['machineID']."' LIMIT 1;";
	
dbase_query($sql);

  @ header("Location: ".$uri_scheme.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/search.php?msg=Machine+deleted+succesfully.");

?>
Return current item: RadMacLab