Author |
Message |
21/01/2007 22:18:07
|
Funny Bong
Newbie
Joined: 11/04/2006 18:16:15
Messages: 1
Offline
|
Hi. Is there any way to put PHP commands within the template files used by the guestbook? I have PHP functions to create the header and nav bar on my site, and I would like it to look the same in the guestbook. I tried surrounding my PHP code with the <?php and ?> tags like I usually would in a PHP file, but it didn't work. I looked at the HTML code that the server was creating and I saw my PHP commands in the code as if the server did not interpret them. Is there any way to work around this problem?
Elias
|
|
22/01/2007 11:11:25
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You would have to put the commands into the script it's self. Loading your header as a variable and then calling the variable where needed in the template.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|