SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: php calendar

  1. #1
    SitePoint Zealot
    Join Date
    Oct 2008
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php calendar

    I have been working with the calendar tutorial at http://php.about.com/od/finishedphp1...p_calendar.htm as suggested in the Sitepoint forums back in 2007. I found it nice and easy to understand but as it stands only shows the current month. Is there an easy way to adapt it to show the next and subsequent months and years? Couldnt really get much help from the associated forum page.

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You would link to the next/previous month/year and after someone clicks one of those links, use the URL ($_GET['month'], $_GET['year']) to set $month and $year in the beginning of the code instead of using the current date.

  3. #3
    SitePoint Zealot
    Join Date
    Oct 2008
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for that. Its good to know that help is always at hand!


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
  •