{banner_top_code}?

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by galaxyAbstractor, Dec 25, 2007.

Thread Status:
Not open for further replies.
  1. galaxyAbstractor

    galaxyAbstractor Community Advocate Community Support

    Messages:
    5,508
    Likes Received:
    35
    Trophy 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: Dec 25, 2007
  2. Penguin129

    Penguin129 New Member

    Messages:
    68
    Likes Received:
    0
    Trophy 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>
     
Thread Status:
Not open for further replies.

Share This Page