I have a php page which list a table from a mysql database.

Dates can be selected like last 7 days, last 14 days .etc....

It worked perfect till midnight :(

The query is something like:
$aresult=mysql_query("select * from orders WHERE (a3 >= CURDATE()-$datec)"

I looking for some advice hos to modify my query or the php code..


Andras Kende

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to