G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php include('config.php'); $cid = $_POST['cid']; $arrivalto = $_POST['arrivalto']; $arrdate = $_POST['arrdate']; $arrtime = $_POST['arrtime']; $arrflight = $_POST['arrflight']; $depto = $_POST['depto']; $depdate = $_POST['depdate']; $deptime = $_POST['deptime']; $depflight = $_POST['depflight']; $remarks = $_POST['remarks']; $sql = $js->prepare('INSERT INTO `customerdetails` (`cid`, `arrivalto`, `arrivaldate`, `arrivaltime`, `arrivalflight`, `depto`, `depdate`, `deptime`, `depflight`, `remarks`) VALUES (:cid, :arrivalto, :arrdate, :arrtime, :arrflight, :depto, :depdate, :deptime, :depflight, :remarks)'); $status = $sql->execute(array(':cid' => $cid, ':arrivalto' => $arrivalto, ':arrdate' => $arrdate, ':arrtime' => $arrtime, ':arrflight' => $arrflight, ':depto' => $depto, ':depdate' => $depdate, ':deptime' => $deptime, ':depflight' => $depflight, ':remarks' => $remarks)); ?> <script type="text/javascript"> alert("Have Successfully Added Arrival & Departure Details"); window.location = 'viewcustomers.php?id=<?php echo $cid?>'; </script>