Announcement

Collapse
No announcement yet.

PHPinclude_start problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHPinclude_start problem

    I have put the header stuff banner & buttons from my website into a separate page and tested it. Works OK.

    I went to use the include facility in the control panel but either I am misunderstranding how to use it or just getting something wrong.

    I changed the PHPinclude_start panel to look like this:

    ob_start();
    include('forumheadercode.html');
    $your_code = ob_get_contents();
    ob_end_clean();

    I put the file in the root of the forum.

    I put this in the footer code to try it out:

    <b> TEST</b>
    <br>
    $your_code
    <br>

    The word test turns up but not the html from the file.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X