codeigniter db where between

Solutions on MaxInterview for codeigniter db where between by the best coders in the world

showing results for - "codeigniter db where between"
Julia
31 Apr 2019
1$minvalue = '2020-01-01 00:00:00';
2$max_value = '2050-12-31 23:59:59';
3$this->db->where("date_field BETWEEN '$minvalue' AND '$maxvalue'");