Is there any error in this code?

Discussion in 'PHP' started by TheSyndicate, Apr 6, 2012.

  1. #1
    I am trying to make a code to show banners, is there any issues? It opens inside the banner it does not go to new page.

    <iframe src="http://www.xxxxxx.com/banners/getbanners.php?sizeID=11&catID=10" width="300px" height="250px" border="0"  frameborder="0" marginheight="0" marginwidth="0" align="middle" scrolling="no"></iframe>  
    PHP:

     
    TheSyndicate, Apr 6, 2012 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    EricBruggema, Apr 7, 2012 IP
  3. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,410
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #3
    You mean it WONT go to a new page it will stay in same page right? Your solution will open a NEW WINDOW?
     
    TheSyndicate, Apr 7, 2012 IP
  4. Artuurs

    Artuurs Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It is HTML , and code is fine!
     
    Artuurs, Apr 7, 2012 IP
  5. www.seotest.com

    www.seotest.com Well-Known Member

    Messages:
    77
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    168
    #5
    you must link href in frame to target="_blank"
     
    www.seotest.com, Apr 7, 2012 IP
  6. hassan001

    hassan001 Active Member

    Messages:
    468
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    70
    #6
    Do it like this....

    I hope this will work for you....
     
    hassan001, Apr 7, 2012 IP
  7. www.seotest.com

    www.seotest.com Well-Known Member

    Messages:
    77
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    168
    #7
    not work if in iframe will be flash banner
    i don't know if it work in classic html , but flash not
     
    www.seotest.com, Apr 7, 2012 IP