![]() |
Cannot add banner code
Trying to add the following banner code:
<?php if (@include('/usr/local/www/data-dist/zoopet/banners/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('', 0, '', '', '0', $phpAds_context); echo $phpAds_raw['html']; } ?> ...to the header section. I get the following problem: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /usr/local/www/data-dist/zoopet/forum/includes/adminfunctions_template.php(3055) : eval()'d code on line 19 |
Quote:
2. you are already in a php file, theres no need for <?php ?> 3. place that code into the phpinclude_start template, minus the <?php and ?> and it should be ok. |
All times are GMT. The time now is 07:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|