Carbonize wrote:Both the Ravenprom guestbook layout and my entire site were achieved using a simple snippet of PHP code. It is a function called include. First design a page placing the word guestbook where you want the guestbook to go. Remember that the guestbook is a pretty big item. Next you go through the HTML and everything from the start up until the word Guestbook you save into a file called header.php. You then take everything from the end of the word guestbook right up to the very end and save it to a file called footer.php. You now have two choices. The first is to overwrite the header.php and footer.php files that already exist in the guestbooks templates. Second is to place the newly made header and footer files in your webspace and place include ('header.php'); just after the initial <? in index.php of your guestbook then place include ('footer.php'); before the closing ?>.
I have choosed the second choise. But in browser comes :
Parse error: parse error, unexpected T_VARIABLE in z:\home\localhost\www\guestbook\index.php on line 8
Could you give a hint ?