Display Events on PHP Calendar
        Posted  
        
            by jl
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jl
        
        
        
        Published on 2010-04-08T18:16:23Z
        Indexed on 
            2010/04/09
            3:13 UTC
        
        
        Read the original article
        Hit count: 307
        
Hi,
I would like to ask if I have a table of events on my database, e.g.
description | startdt             | enddt
event1      | 2010-04-01 10:00:00 | 2010-04-01 13:00:00
event2      | 2010-04-09 14:00:00 | 2010-04-09 18:00:00
event3      | 2010-04-30 11:00:00 | 2010-05-02 16:00:00
I have already created a php calendar, how can I display these above events onto my calendar, so that it will look something like the google calendar? e.g. on the for 2010-04-01, it will display "event1" on the month calendar.
Thank you.
© Stack Overflow or respective owner