Reccuring events in calendar application
Posted: Fri Nov 21, 2003 4:32 am
Im really stumped on this one.
I have built a calendar application (monthly view) where users can input appointments and the like.
This part was quite easy, but now i need to add a feature so when someone adds an appointment, they can choose whether it reccurs weekly or monthly.
I haven't got a clue how to make the appointments appear for future dates.
I don't think i can use a cron job to update all the recurring appointments because a user is able to choose a month they want to view in the future and the appointment needs to be shown there too.
I can't imagine that for each day, i need to check back to see if there were any recurring events?
Any pointers on how i would achieve this?
Thanks
Mark
I have built a calendar application (monthly view) where users can input appointments and the like.
This part was quite easy, but now i need to add a feature so when someone adds an appointment, they can choose whether it reccurs weekly or monthly.
I haven't got a clue how to make the appointments appear for future dates.
I don't think i can use a cron job to update all the recurring appointments because a user is able to choose a month they want to view in the future and the appointment needs to be shown there too.
I can't imagine that for each day, i need to check back to see if there were any recurring events?
Any pointers on how i would achieve this?
Thanks
Mark