Help Please! Same ads showing five times

Discussion in 'Co-op Advertising Network' started by mac7584, Dec 10, 2004.

  1. #1
    Hello. This is my first post and would like to thank eolim from the warrior forum.

    As soon as I found out about this I got on it and went for the five text ads showing in my forum.

    It worked great but the five text ads in my forum are all the same.
    Is this ok?

    I don't think so.
    How can I fix it?
    Thanks
    Mac
     
    mac7584, Dec 10, 2004 IP
  2. vlead

    vlead Peon

    Messages:
    215
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    what is the url? did u refresh the page in ur browser a couple of times?
     
    vlead, Dec 10, 2004 IP
  3. mac7584

    mac7584 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    teach-abroad.net/forum is the url and I
    did refresh the browser
    ?
     
    mac7584, Dec 10, 2004 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What's the echo code you use for diplaying it?

    Should be similar to this if you use the latest code:

    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network.php');
    echo "<p>Some other internet browsing ideas:<br>";
    	echo ' '.$ad_network[0].' / '.$ad_network[1].' / '.$ad_network[2].' / '.$ad_network[3].' / '.$ad_network[4].'</p>';
    PHP:
    You're probably echoing the same array key 5 times.
     
    T0PS3O, Dec 10, 2004 IP
  5. stephaneggy

    stephaneggy Well-Known Member

    Messages:
    275
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #5
    What T0PS30 said, or you just must refresh your browser; go to your site and press F5 or ctr+F5 (or was it shift + F5) then you refresh the page, it must show more then if you have the code okay
     
    stephaneggy, Dec 10, 2004 IP
  6. mac7584

    mac7584 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks,

    I'm sorry, what file would this could be in?
     
    mac7584, Dec 10, 2004 IP
  7. mac7584

    mac7584 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Oh Sh*t!

    I just noticed under my name it says Peon.
    Have not been named that since summer camp
    30 years ago!!
    That's too funny!
     
    mac7584, Dec 10, 2004 IP
  8. vlead

    vlead Peon

    Messages:
    215
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I think its the problem with ur code... I refreshed ur page a couple of times but it the same ad 5 times.

    You have to check the PHP code you typed in ur forum footer file.
     
    vlead, Dec 10, 2004 IP
  9. mac7584

    mac7584 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks vlead.

    I'm on it like whit on rice.
    I see big things to come with this.
     
    mac7584, Dec 10, 2004 IP
  10. mac7584

    mac7584 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I checked it and it seems ok I think.

    here is the code
    {AD_NETWORK1}
    {AD_NETWORK2}
    <br>
    {AD_NETWORK3}
    {AD_NETWORK4}
    {AD_NETWORK5}
    </body>
    </html>
     
    mac7584, Dec 10, 2004 IP
  11. vlead

    vlead Peon

    Messages:
    215
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Where did u paste the code posted by TOPS30 above? Compare ur code with the code posted by TOPS30.
     
    vlead, Dec 10, 2004 IP
  12. mac7584

    mac7584 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I got it working!

    Thanks to all that helped this PEON out.

    Mac
    Japan
     
    mac7584, Dec 10, 2004 IP