Announcement

Collapse
No announcement yet.

How would I show this PHP in the sidebar?

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

  • How would I show this PHP in the sidebar?

    Hi there,

    I have a very simple script I use on my old 3.8 board for a banner rotator and I want to put that code in the sidebar on 4.2.2 using the PHP parsing, but nothing I try seems to work. Any ideas, code is below that I need to use.

    Code:
    <?php
    include_once('scripts/125_adverts.php');
    echo "<div align='center'>$bannerAd</div>";
    ?>
    Thanks!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X