Results 1 to 2 of 2

Thread: Year Months

  1. #1
    Join Date
    Apr 2006
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Year Months

    I have:

    PHP Code:
    <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??

  2. #2
    Join Date
    Apr 2006
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Like this example:

    2006

    November
    December


    2007

    January
    February
    March


    Need help!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •