Hello,
How can I build an event calender like http://www.k10k.net/ site??
Event calendarHow to build an event calender
Page 1 of 1
1 Replies - 1357 Views - Last Post: 20 March 2009 - 08:49 AM
Replies To: Event calendar
#2
Re: Event calendar
Posted 20 March 2009 - 08:49 AM
Ok, first off, it isn't just a one line kind of thing, so I say that you get crankin' and we'll lend a hand when we can.
Basically, the gist, of what's happening is you have a database with Id, Month, Day, Event Title, Event Description. (Just for starters anywayst).
When the user inserts information it is placed into the db. For example:
Id (Auto Incrementing)
Month: February
Day: 3
Event Title: My Birthday
Event Description: Send me presents
Then when the user clicks on the the 3 on the February you send the following variables through the url like this: http://www.yourdomai...?m=2&d=3&y=2009
So then when the page refreshes (showing the same page, but now the php script has variables to work with) and displays any event in the database where the Month = 2 and the Day = 3 and the Year = 2009.
That's enough to get you started, if you have any questions please let us know. Start coding and make sure if you need help to post your code.
--
Greg
Basically, the gist, of what's happening is you have a database with Id, Month, Day, Event Title, Event Description. (Just for starters anywayst).
When the user inserts information it is placed into the db. For example:
Id (Auto Incrementing)
Month: February
Day: 3
Event Title: My Birthday
Event Description: Send me presents
Then when the user clicks on the the 3 on the February you send the following variables through the url like this: http://www.yourdomai...?m=2&d=3&y=2009
So then when the page refreshes (showing the same page, but now the php script has variables to work with) and displays any event in the database where the Month = 2 and the Day = 3 and the Year = 2009.
That's enough to get you started, if you have any questions please let us know. Start coding and make sure if you need help to post your code.
--
Greg
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|