Jump to content

Upcoming Events Help


oneofayykind

Recommended Posts

There is a calendar I integrated into my website and you can add events to it. What I would like to do is list the upcoming events underneath it. I would like to only list the upcoming events for the month. A sample of what I'm talking about can be listed at http://wpcal.firetree.net/

 

The events from my calendar are written to a mysql database.

 

I would appreciated help on this if anyone has any ideas?

Link to comment
Share on other sites

Just curious if someone could point me in the right direction. Don't want someone to write the code for me just tell me what I should be using. I got the calendar from Easy PHP Calendar I just want to be able to take the events added to the mysql database and show this months events underneath the calendar.

Link to comment
Share on other sites

Kinda hard to explain, but here is my logic i use.

 

First load in the month's events as the page loads, into an array.  Then as you print each day in the calendar, check the array for the same day as you are printing and see if there are any events, if so, print them, if not, go to the next day.

 

Just curious if someone could point me in the right direction. Don't want someone to write the code for me just tell me what I should be using. I got the calendar from Easy PHP Calendar I just want to be able to take the events added to the mysql database and show this months events underneath the calendar.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.