Request';
} elseif($row1['status'] == 1) {
$status = 'Sent';
}
elseif($row1['status'] == 2) {
$status = "Cancelled";
}
$data[] = array('order_id' => ''.$row1['id'].'',
'name' => $row1['name'],
'country' => $get_country['name'],
'whatsapp' => $row1['whatsapp'],
'req_videos' => $vid,
'amount' => $amount,
'payment_type' => $row1['payment_type'],
'order_date' => date('d-m-Y H:i:s',strtotime($row1['created_at'])),
'status' => $status,
);
}
echo json_encode(array(
"aaData"=>$data));
//
?>