The stuff that works can bee seen here: http://www.gotbookz.com/calendar4.php (you can add an event if you want, just refresh the page to see it)
the above link is ofcourse a trial version
i have made the all the events as links (not on that page) by doing this:
Code: Select all
<a href="event.php"><?php echo $getinfoarray['event_title']; ?> </a> <?php echo "<br/>";there are two problms with this:
1. when a person clicks on an event i want a pop up window to pop up with the details of it. I know that if I put
Code: Select all
target="_blank"2. there will be hundreds of events over time and i dont think that creating a new page for every event is a good idea so i created a field in the table in the database called 'id' which gives every event a unique id and i want to be able to have one page called event.php that sets the content based on the id of event. Something like this: you click on the event, a window with details pops up with the address being :http://www.gotbookz.com/event.php?eventid=123. I know how to write to files from another file but i don't know how to make the previous link work.
Can anyone point to a tutorial or something like that in this field? And if there is not enough info or questions ask me.
Thanks