Ritualistic News Archive

Year $year
\n"; $monquery = "select distinct DATE_FORMAT(date,'%M') as chardate, DATE_FORMAT(date,'%m') as numdate from news where DATE_FORMAT(date,'%Y')='$year' order by numdate"; $monresult = MYSQL_QUERY($monquery); $monnumber=MYSQL_NUMROWS($monresult); for ($x = 0; $x < $monnumber; $x++) { $chardate=mysql_result($monresult,$x,"chardate"); $numdate=mysql_result($monresult,$x,"numdate"); echo "$chardate
"; } } ?>

Older Archives (Weeks, not just days)