Been pulling my hair out trying to get my banner code to work in the forum blocks. I've set it to PHP, I've tried a bunch of different ideas, nothing works. I'm running this obviously on my old 3.8 board which is way different, but want it to work on 4.2.2.
Any ideas how to make this code work? I've tried everything, seems like it should be very easy.
<?php
include_once('scripts/125_adverts.php');
echo "<div align='center'>$bannerAd</div>";
?>
Another code I tried was this...
ob_start();
include_once('scripts/125_adverts.php');
echo "<div align='center'>$bannerAd</div>";
$output .= ob_get_contents();
ob_end_clean();
Thanks!
Comment