prepare("delete from tempout where sn = $id") ; if($sql->execute()) { header("location: inventout.php") ; } ?>