Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->db->select('*');
- $this->db->from('booking');
- $this->db->join('offering','offering.off_id=booking.off_id','left');
- $this->db->join('offering_rate','offering.off_id=offering_rate.off_id','left');
- $this->db->where('value',$_SESSION['value']);
- //$this->db->group_by('offering_rate.off_id');
- //$this->db->order_by('offrate_id','desc');
- $query = $this->db->get();
- if ($query->num_rows() > 0) return $query->result_array();
Add Comment
Please, Sign In to add comment