I am developing a site for upcoming bands. Now, I want to include a simple customized guestbook for each band in their own band page. Any ideas on how I can use just one installed version of Advanced Guestbook and at the same time use it to display individual guestbooks under each band page.
FYI, I dont have a separate folder for each band. Instead, I have a generic script and just pass on band parameters to display the band page.
Any help is much appreciated.
20/07/2004 14:26:58
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
You could assign a different prefix to the SQL entries for each bands guestbook. Such as
band1_book_config
band2_book_conifg
then use the requested url to see which bands guestbook they are trying to view and use a simple switch statement or stack of if/elseif's to specify which prefix to call on.
Carbonize I am not the maker of the Advanced Guestbook