{banner_top_code}?

Status
Not open for further replies.

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I found in a script {banner_top_code} and {banner_bottom_code}. Where can I found the real code? Because I want to add the x10banner there too and if there is already a way why don't do it the same way? So how can I find out in what file it is stored in?
Omg! I can't belive it! I found it!
Edit:
I get this error after adding the x10 ad :
Parse error: syntax error, unexpected T_STRING in /home/viggeswe/public_html/si/include/template.php on line 45

any idea?


<script type="text/javascript" src="http://x10hosting.com/adserve.js?viggeswe"></script>...
//x10hosting.com/adserve.js?viggeswe turning out as comment in php... How to uncomment php with //?
 
Last edited:

Penguin129

New Member
Messages
68
Reaction score
0
Points
0
Double slashes in a string don't act as comments, instead they're just parsed as part of the string. Try escaping all the quotes in the string. IE:
PHP:
<script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?viggeswe\"></script>
 
Status
Not open for further replies.
Top