<?php 
include "config.php";
session_start();
$user=$_SESSION['log'];

$delete = $_POST['delete'];
$dele="update  vehiclemaster set editdate=CURRENT_DATE(),edittime=CURRENT_TIME(),editby='$user',status='deleted' where code = '$delete'";
$godel = mysqli_query($connect,$dele);

  header('Location:vehiclemaster.php');

?>