tags:

views:

73

answers:

1

Hi, I need to create a calendar which will allow people to view appointments and edit these. Am aware there are many out there put I have to create my own and it has to be my own code, so anything like jQuery is out of the question. I have studied Google Calendar and although I don't want it as advanced as this something similar should do.

I have a basic idea how to do it, but I don't quite know how to get the correct days in the month etc? I was thinking about an array in php, I don't know if the php date() function would help me here?

Has anyone created there own or have any advice?

Thanks

+1  A: 

There is a function in PHP to get the number of days in a certain month: cal_days_in_month()

jeroen
Thanks didn't know that.
Elliott