Thanks Nico!
date_entered
2007-09-25 21:47:49
2007-09-13 19:34:30
2007-09-13 19:29:48
2007-09-25 21:46:31
Im trying to select items from 'newspage' from the last 30 days, this should display all the above records?
$query = "SELECT * FROM newspage WHERE (TO_DAYS(NOW()) - TO_DAYS('date_entered') > 30)";
But its not?