<?php
include 'connect.php';
session_start();
if (isset($_GET['id']))
{           
				
			$simpan=mysqli_query($con,"Update stokkanvasheader set stat='0' where nobukti='$_GET[id]' and stat<>'1';");
			?>
			<meta http-equiv="refresh" content="0; url=listmuatkanvas.php" >
			<?php
			  
}
else {
    ?>
    <meta http-equiv="refresh" content="0; url=listmuatkanvas.php?id=<?php echo $nobukti;?>" >
	<?php
}	

?>