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
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
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