I have data looking like this
I want show all before 01-08-2018
record (included 01-08-2018)
but currently need to fill in 02-08-2018, then able to found 01-08-2018 record
ive tried get data like this this is my where clause:
$this->db->where("a.created_date <=",date("Y-m-d", strtotime($end_date)));
but its only show data before 01-08-2018 record not included 01-08-2018
i really bad in english. please help