Jump to content

Dynamic Calendar?


stublackett

Recommended Posts

Hi,

 

I'm creating a school e-Learning Database for my project at University and what I'm trying to do is create a Dynamic Calendar

Which updates with MySQL Information

 

The MySQL Table will be called Events and will have a Date stamp on it

 

What I'd like is a nice Dynamic Calendar that loads the relevant Events into the calendar and allows you to flick forward a month and back a month, As well as add events and modify events

 

I've had a hunt around the Internet and couldnt find much

 

Just wondering if anyone has any code they'd like to share or if they can point me in the direction of a really good tutorial to help me to get going

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/95826-dynamic-calendar/
Share on other sites

How did you go about doing it?

 

I'm trying to get the links to month previous and month next to work first

 

Then I reckon I should be ok

 

Its just echo'ing some SQL SELECT Queries which I dont think is going to be too difficult, Its just manipulating the calendar to go forward and backward one

Link to comment
https://forums.phpfreaks.com/topic/95826-dynamic-calendar/#findComment-490659
Share on other sites

What I did was just add two pulldowns, one for the month, one for the year with a GO button.  So you can pick where you want to go and it defaults to the current month/year.

 

What you can do is have it read the current month/year and have a Previous and Next button that links to +1 and -1 of that month.  You'll have to do some logic to see if its Jan or Dec though to switch years correctly as well.

Link to comment
https://forums.phpfreaks.com/topic/95826-dynamic-calendar/#findComment-491477
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.