[PHP-DB] Re: [PHP] Adding includes to files

2004-04-22 Thread John W. Holmes
From: Robert Sossomon [EMAIL PROTECTED] I need to add PHP calls to include a file to each page as it is generated, the only thing is I can't get the includes to come through correctly: ! Code $display_block .= ?php include(\nav/top_nav.html\); ?; $display_block .= ?php

[PHP-DB] RE: [PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
Output buffering isn't going to help, the files, when completed need to look like: ! HTML CODE HTML HEAD TITLECategories of Items/TITLE BODY ?php include(nav/top_nav.html); ? ?php include(nav/side_nav.html); ? Html content ?php include(nav/bottom_nav.html); ? ! END HTML CODE If all I was

[PHP-DB] RE: [PHP] Adding includes to files

2004-04-22 Thread Robert Sossomon
OK, so I figured out where it was barfing. I looked deeper into the log files as well as the generated pages, and found that somewhere the path to the include files had become mangled, and the reason the files weren't showing correctly in the HTML pages in the browser was because it couldn't find