indiantown
Technical User
Hello All,
I have a simple query running from which I display on my page expiring coupons in ASC order,
$get_cats = "SELECT item_id, item_title, item_desc, item_subdesc, store_image, item_image, item_code, item_exp, dept_id FROM `store_item` WHERE `item_exp` LIKE '200%,%,%' ORDER BY `item_exp` ASC LIMIT 0, 25";
You can view the display page at
What I am facing problems is that the query does not displays the data for ex, 2005,05,08 & 2005,05,09 and as a matter of fact any data for the days xx/08 & xx/09.
When I change the query for ORDER BY 'item_id' then the search result included the 05,08 & 09 data.
I am lost.
Please help me with suggestions where I am missing.
I have a simple query running from which I display on my page expiring coupons in ASC order,
$get_cats = "SELECT item_id, item_title, item_desc, item_subdesc, store_image, item_image, item_code, item_exp, dept_id FROM `store_item` WHERE `item_exp` LIKE '200%,%,%' ORDER BY `item_exp` ASC LIMIT 0, 25";
You can view the display page at
What I am facing problems is that the query does not displays the data for ex, 2005,05,08 & 2005,05,09 and as a matter of fact any data for the days xx/08 & xx/09.
When I change the query for ORDER BY 'item_id' then the search result included the 05,08 & 09 data.
I am lost.
Please help me with suggestions where I am missing.