Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
panel
/
ajax
:
uploadTracking.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php session_start(); include('../../config/database.php'); $orderId = $_POST['orderId']; $receiptid = $_POST['receiptid']; $logistic_partner = mysqli_real_escape_string($cn,$_POST['logistic_partner']); $packet = $_POST['packet']; $logistic_remark = mysqli_real_escape_string($cn,$_POST['remark']); if(!empty($orderId)) { mysqli_query($cn,"update `tbl_order` SET `tracking_status`=1, `logistic_partner`='$logistic_partner', `logistic_remark`='$logistic_remark', `packet`='".$packet."' where `order_id`='$orderId'"); } else { mysqli_query($cn,"update `tbl_order` SET `tracking_status`=1, `logistic_partner`='$logistic_partner', `logistic_remark`='$logistic_remark', `packet`='".$packet."' where `receipt_id`='$receiptid'"); } $arr = array("status"=>1, 'SuccessMsg'=>"Logistic Detials update SuccessFully"); echo json_encode($arr); ?>