Log in

View Full Version : Year Months



pavmoxo
05-12-2006, 11:09 AM
I have:


<h3><?php echo $arrl["Byear"]; ?></h3>

<ul class="rlinks">
<?php for($i=-3;$i<2;$i++) { ?>

<li>
<a href="agend_desporto.php?modifier=<?php echo($i); ?>"><?php echo(trata_month(date(m)+$i)); ?></a>
</li>

<?php } ?>
</ul>

and I want to separate the months for years if necessary. How can I do this??

pavmoxo
05-13-2006, 11:31 AM
Like this example:

2006

November
December


2007

January
February
March


Need help!!!