i want to make a calendar using php. i realize this project has been tackled numerous times, by countless developers, in countless varying degrees of complexity and functionality.
what i want to do is make an HTML tables type thing where the table cells as days of month will be automatically populated by some php time/date function -- which will accept user input to determine which month is displayed.
i also want to link that calendar to a database so that i can use it to display schedule info for my guitar students.
i realize that this is going to be a fairly complex project-- so, what i'm looking for here is advice or if you have it-- a link to a tutorial for building this type of calendar. i think once i'm able to get the calendar output, if i can link unique code #'s to each generated cell-- i could use those numbers as keys for the db-- assuming those code's would be identical each time that month is populated by php-- that way, when the month is displayed, the key's will be present to pull the appropriate data from the db.
am i fooling myself here, or does it sound like my idea might work?
if you don't have a link to a tutorial for building a php-built calendar, then maybe you could give me ideas on how i might approach this project in terms of what php function i should look at-- and how i might go about looping it to print 7 cells per row, $x weeks for $y month, etc.
thanks for reading. i look forward to your reply!