var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: mysql date operation problem??
I am trying to display all the news which are up to todays date. I have used following query but didnt get the success
May be i have not enough knowledge about date operation in mysql. What i want is just your help .
$sql = "SELECT * FROM news WHERE news_date < = todays_date";
Thanks a lot.
dunno where you coulda got "todays_date" from
try CURRENT_DATE which is the standard sql function (and also works in mysql)