author: bryan
date: 2010-03-05 07:44:04
title: Re: Date YYYY-MM-DD formatting with PHP
i just want to ask, how can i set a time cut off e.g 7:00 am to 4:00 pm, then after 4 pm it would count for the next day
author: shah Jaham Ahmed
site: http://www.hosting4bd.com
date: 2010-08-20 06:18:18
title: Re: Date YYYY-MM-DD formatting with PHP
Bad Example
I think coding should be like this
SELECT * FROM send_query WHERE submitted_date > CURDATE()-1 and submitted_date < CURDATE() ORDER BY id desc limit $from,$max_results