Sorry to bring up a two week old thread...
But I'm trying to put integrate phpadsnew in a forum of a client of mine.
And I got errors when I tried to do ^^
I put this in the phpinclude_start template:
Code:
<?php
if (@include(getenv('DOCUMENT_ROOT').'/myads/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 4, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
and $phpAds_raw['html'] where I want it in the header...
But I still get this when I hit submit:
Quote:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/woforums/public_html/includes/adminfunctions_template.php(3055) : eval()'d code on line 9
|
Any suggestions?
Thanks