I'm running into some problems including a banner rotation script on a forum.
If I put the advertisement code directly into the header template I get this error
Quote:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/talkhome/public_html/forum/includes/adminfunctions_template.php(3537) : eval()'d code on line 43
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|
I then tried pasting the code into a file called advert.php and including it in the header, this also did not work, it was just like it wasn't there at all. I'm stuck for now and any help would be greatly appreciated.
Thanks