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
Maybe something wrong with the return? I was thinking about return "What?". (U understand me?) in Javascript a simple return does nothing. maybe you can just leave the return out of your script. - Original Message - From: "Mike Eales" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: