Menu
<?
function generatecalendar() {
$ano = date(‘Y’);
print ($ano-1);
echo ” | | “;
for($i;$i<=12;$i++){
echo $i.” | “;
}
echo ” | | “;
print ($ano+1);
}
generatecalendar();
?>
Hi
I would like to generate a mini calendar displaying a year before the actual year number the 12 months from the year and the year number after the actual year. The function above generate the months number.
i would like to generate the three first letters from the months but in portuguese ! how can i do this ?
Thank´s in advance