Commit 18a70e5a by Jansa Jose

change quey

parent cb3928bf
......@@ -941,7 +941,7 @@ function offer_update($request){
$this->db->join('car_details','ride.car_id=car_details.id','left');
$this->db->join('car_make','car_details.car_make=car_make.id','left');
$query= $this->db->get('')->result();
echo $this->db->last_query();
// echo $this->db->last_query();
if(count($query) > 0){
foreach ($query as $key => $value) {
$res = $this->db->get_where('recurring_ride',array('ride_id'=>$value->id))->row();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment