Userfriendly URLs?
Posted: Wed Dec 03, 2003 10:31 pm
I'm working on an event calendaring system for a theater. I really want each show to have its own "user-friendly" url, like http://www.site.org/shows/2003/showname.php rather than http://www.site.org/shows/event.php?event_id=7
How do I do this but also have each show's page pull up data from the database?
I know I can do an include and/or a function call, but it still means that each page needs the show's event_id (or whatever the primary index field ends up being) hardcoded into the page. But that seems even more un-user-friendly (I intend for a computer-savvy but non-developer person to take over day-to-day updates). I just can't imagine a layperson seeking the ID from the database and coding it into each page.
Looking for any and all ideas...
many thanks for any help you can give me.
-Noemi
How do I do this but also have each show's page pull up data from the database?
I know I can do an include and/or a function call, but it still means that each page needs the show's event_id (or whatever the primary index field ends up being) hardcoded into the page. But that seems even more un-user-friendly (I intend for a computer-savvy but non-developer person to take over day-to-day updates). I just can't imagine a layperson seeking the ID from the database and coding it into each page.
Looking for any and all ideas...
many thanks for any help you can give me.
-Noemi