I'm really not bright at this stuff just yet. Here's the code I'm trying to use:
$result = mysql_db_query($database, "SELECT * FROM_UNIXTIME(date)") or die (mysql_error());
if (mysql_num_rows($result)) {
while ($qry = mysql_fetch_array($result)) {
echo "$qry";
I've tried all sorts of combinations and looked up all sorts of samples, and I'm just not figuring it out.
Just to clarify, the date function is being inserted and read by PHP just fine, but I'd like to write a mySQL query string to grab every month that I've made post, so that it can output a list like this:
March 2005
April 2005
June 2005
etc.
The text would link to a page that displays every post made in that month. I'm sure this has something to do with the aforementioned FROM_UNIXTIME, but I'm just not getting it. Any help is greatly appreciated.