hey, I'm wondering how to retrieve data from my database using php to get the top songs today.
Right now I'm just getting the top songs using
$result = mysql_query("SELECT tag, COUNT(*) AS the_tags FROM tags GROUP BY tag ORDER BY the_tags DESC LIMIT 16");
I am also storing the date in the tags table aswell, in the format
07-25-2010
so Month - Day - Year
How can i have it limit the results to tags with the date of today?
Thanks :)