get textbooks Published between YEAR provided[publication_date] and today |
// model function // get textbooks Published between YEAR provided[publication_date] and today if ($data_search["publication_date"]!='') $this->db->where('publication_date >=', date("Y-m-d", mktime(0, 0, 0, 1, 1, $data_search["publication_date"]))); // you have any idea how compare dates??? // PHP my admin the field is Date field publication_date date |
Messages In This Thread |
get textbooks Published between YEAR provided[publication_date] and today - by lsepolis123 - 02-08-2018, 10:33 AM
RE: get textbooks Published between YEAR provided[publication_date] and today - by InsiteFX - 02-08-2018, 08:57 PM
RE: get textbooks Published between YEAR provided[publication_date] and today - by lsepolis123 - 02-09-2018, 01:02 AM
RE: get textbooks Published between YEAR provided[publication_date] and today - by salain - 02-09-2018, 01:48 AM
|