PHPycho
01-15-2007, 11:03 AM
I am trying to display all the news which are up to todays date. I have used following query but didnt get the success
$sql = "SELECT * FROM news WHERE news_date < = todays_date";
May be i have not enough knowledge about date operation in mysql. What i want is just your help .
Thanks a lot.
$sql = "SELECT * FROM news WHERE news_date < = todays_date";
May be i have not enough knowledge about date operation in mysql. What i want is just your help .
Thanks a lot.