Query with date
| From: | Denis L. Menezes | Date: | Sat, 26 Apr 2003 18:50:21 +0000 |
| Subject: | Query with date | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-145371@lists.php.net to get a copy of this message | ||
Hello folks,
I need all news befor the 27th of April. What is wrong with the code below?
Quote:
$sql="SELECT * From News where NewsDate<(2003-04-27) order by NewsDate desc ";
Unquote
Thanks
Denis