I am storing dates in a database by date("Y-m-d").
I need to search for every record in the database added within the last 7 days - right now I have it bringing up only today:
mysql_query("SELECT * FROM request WHERE dte = '$today' AND public = 'y' ORDER BY ID desc",$db);
How can i tell it to show me where dte = today and everday back to 7 days ago?
Thanks!