How to redirect an image to a site

Discussion in 'PHP' started by rokim87, Jan 5, 2009.

  1. #1
    I am in need of some help of redirecting a banner image to a affiliate site.
    so my current php script is scripted like this

    <div class="adsense_sidebar"> <?php include (TEMPLATEPATH . '/adsense_sidebar336.php'); ?></div>

    if thats of any help.

    Now I'm trying to figure what codes I need to do so.

    If you could help I would greatly appreciate it.
     
    rokim87, Jan 5, 2009 IP
  2. zerxer

    zerxer Peon

    Messages:
    368
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't think that's of much help. Might need to see the contents of adsense_sidebar336.php (put it in the PHP bbcode tags here for easy reading).
     
    zerxer, Jan 5, 2009 IP
  3. rokim87

    rokim87 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    my gosh your a genius.. thank you so much I already see the problem lol.

    Open up adsense_sidebar336.php and there was the image and all I had to do is insert the link
     
    rokim87, Jan 5, 2009 IP
  4. Th3DarkOn3

    Th3DarkOn3 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hahaha ... that was GREAT! classic. There have been so many times that just from asking a question I have figured out the answer. Glad the forum could help you.
     
    Th3DarkOn3, Jan 6, 2009 IP