This did indeed fix the problem, thanks for the advise.
A question though: Why is this necessary, the include/require is called from index.php while in "PHP mode" ? The functions work fine as if I remain in "PHP mode" within the functions. It is only when I go in and out of "HTML mode" within the function that this problem arises. Thanks again Mike. -----Original Message----- From: Bas Jobsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 6:52 AM To: Mike Eales; [EMAIL PROTECTED] Subject: Re: [PHP] Include/require and the HTML Code > Can anybody tell me why I get a "Parse error: parse error, > unexpected '}' in /usr/local/apache/htdocs/logbook/Functions.inc on line begin and end your include files with <? and ?> <? function HtmlHeader() { ?> bllaalla <? return; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php