Re: [PHP] Re: Include File Errors with Comments

2009-03-12 Thread Patrick Moloney
Andrew Ballard wrote: I do use PHP comments (probably not as much as I should), but I don't usually use HTML comments. This is partly (largely?) because HTML comments get passed on to the client which wastes (albeit usually a small amount of) extra space and bandwidth for each request, and they

Re: [PHP] Re: Include File Errors with Comments

2009-03-12 Thread Andrew Ballard
On Wed, Mar 11, 2009 at 7:51 PM, Patrick Moloney wrote: > OK, I think I've got the problem. I had to go back further than where the > problem appeared to be. The 1st error was the comment code on the div line > before the menu is Included. It had the "--" in the comment. > Oddly, it interacts with

[PHP] Re: Include File Errors with Comments

2009-03-11 Thread Patrick Moloney
OK, I think I've got the problem. I had to go back further than where the problem appeared to be. The 1st error was the comment code on the div line before the menu is Included. It had the "--" in the comment. Oddly, it interacts with the same error in the comment in the mainmenu file. I saw som

[PHP] Re: Include File Errors with Comments

2009-03-11 Thread Shawn McKenzie
Patrick Moloney wrote: > Thanks for all the replies. > As I said in my original post the comments are on the first lines of the > included file and are HTML comments. I'll have to look closer at comment > syntax - I see there are "empty comments" and issues with pairs of > double hyphens. > > My o

[PHP] Re: Include File Errors with Comments

2009-03-11 Thread Patrick Moloney
Thanks for all the replies. As I said in my original post the comments are on the first lines of the included file and are HTML comments. I'll have to look closer at comment syntax - I see there are "empty comments" and issues with pairs of double hyphens. My overall code worked well with 2 c