query($Query); header("location:view_order.php"); } ?> 'http://sms.dial4sms.com/api/v2/SendSMS?SenderId=DRANBU&Message='.$message.'&MobileNumbers='.$dis_phone.'&ApiKey=eYfIWFmiAMhbL6JDTfOb3kzGzQr+eimy6prshuD8qLo=&ClientId=b45d4e3d-cb26-4856-8cbf-93a02a7b9eeb', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', )); $response = curl_exec($curl); curl_close($curl); $Query="UPDATE `tbl_confirmorder` SET `deliverytime`='" .$date_ss. "', `courier_amount`='".$courier_amount."', `couriername`='" .$courier_status. "',`courier_no`='" .$courier_no. "',`orderstatus`='2' WHERE `orid`='".$v_id_order."'"; $DB->query($Query); //$ids=$_REQUEST['ids']; // header("location:view_order.php?ids=15"); //$cour="courier_status".$v_id_order.""; header("location:view_order.php?ids=15"); } ?>