Codeigniter 3 Get Future Date Recocords Upcoming Records

[Solved] Codeigniter 3 Get Future Date Recocords Upcoming Records | Php Frameworks Codeigniter - Code Explorer | yomemimo.com
Question : Codeigniter 3 Get future date recocords - upcoming records from database

Answered by : irfan-majeed

 public function getUpcomingevents($limit) { $this->db->select('*'); $this->db->from('events'); $this->db->where('is_active',"1"); $this->db->where('date > DATE(now())'); $this->db->order_by('id', 'DESC'); $this->db->limit($limit); $query = $this->db->get(); return $query->result(); }

Source : | Last Update : Mon, 18 Oct 21

Answers related to Codeigniter 3 Get future date recocords upcoming records from database

Code Explorer Popular Question For Php Frameworks Codeigniter