Re: [PHP] Include/require and the HTML Code

2002-08-14 Thread Chris Shiflett
I'm not sure about others, but I am glad this behavior is like this. It is very nice for modules to "stand on their own" so to speak, so that you don't have to worry about what context they are used in. If the file you are including is plain HTML, would you want it to be parsed as if it were P

RE: [PHP] Include/require and the HTML Code

2002-08-14 Thread Michael Eales
f "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 >

RE: [PHP] Include/require and the HTML Code

2002-08-14 Thread Peter Houchin
Mike, i had no problems with this.. # Do things LogBook http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include/require and the HTML Code

2002-08-14 Thread Bas Jobsen
> 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 bllaalla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include/require and the HTML Code

2002-08-14 Thread Sascha Braun
: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 10:44 AM Subject: [PHP] Include/require and the HTML Code > Hi, > > Can anybody tell me why I get a "Parse error: parse error, > unexpected '}' in /usr/local/apache/htdocs/logbook/Functions.inc on li

[PHP] Include/require and the HTML Code

2002-08-14 Thread Mike Eales
Hi, Can anybody tell me why I get a "Parse error: parse error, unexpected '}' in /usr/local/apache/htdocs/logbook/Functions.inc on line 17 " for the following code: Appreciate any help. Using PHP 4.2.2 and Apache 1.3.26 on Redhat 7.3 x86 (The "" stuff is not part of the code. ind