I am trying to create a dynamic website using php code which references a text document and prints a list of the current events. I was wondering how I might be able to create links for each event that is printed. is this even possible?
I am not sure if I am folling you.
Are you wanting to do something like this:
http://www.spechal.com/kcevents/
If so, then I can help you. Otherwise, try to be a little more specific.
yes, give more details....
are you trying to create the page from a .txt file? this is certainly possible.
you can have all your links in a txt file and then use php to list them, if that's what you are trying to do.
~JOSH
I have a list of events in my text file. (Date, event name, event location). I have successfully set it up so that each event is pulled from the text file, checked to make sure that the date is in the future and then printed in the correct format in the proper place on my webpage. However, I can't seem to link the events.
Post your code.
in your text file, write out the code like in HTML with the <a> tags already on it. that's what i do. then when its printed or echoed, the HTML parser will recognize it as a link.