This code goes in my phpInclude:
How do I get this code to work in a template?
I tried putting this in the header so I could use $bannerCode in the template, but it displayed the banner at the top, not where I wanted:
PHP Code:
include($_SERVER['DOCUMENT_ROOT']."/clsBanner.php");
$banner = new banners();
PHP Code:
$banner->largeBanner();
PHP Code:
$bannerCode = $banner->largeBanner();
Comment