Output date & event to an external html
Hello. I am currently working on a website where I need the front page to present a short list of upcoming events. I do not need to display the calendar itself or the details of each event. I want it to list only the next upcoming five events. All I want is basically something like this:
Event 1 — November 24
Event 2 — November 28
Event 3 — November 30
Event 4 — December 2
Event 5 — December 5
Also, each event would be clickable where one could click it and go to the actual calendar page listing with all of the other events, cal view, etc.
I don't want an RSS feed, so that information hasn't quite been of use... does anyone have any idea how to do what I need? I figure it's a matter of creating another php file to open the database and call a few variables and then on the mainpage I can do a require php function and call that page. Thoughts?
Thanks!
|