im using unix_timestamp() when i send a news story to the database so that i can display the 5 most recent stories on my hompage.
then to retrieve the story i use...
$q = "SELECT id, thedate, header, description, date_txt, photo, type FROM $tablename ORDER BY thedate DESC LIMIT 5";
i want to make a part on the site that has an option of reading the stories from each month
i want to have buttons like... jan, feb, mar, apr, may....ect
when apr is clicked for example a page will open with a list of the stories from that month.
how would i code the button to retreie that list of stories ?