Need help please

Discussion in 'HTML & Website Design' started by tennerrs.com, Feb 9, 2011.

  1. #1
    Can someone turn this code into a http://www. web link please

    <a href="http://emails4less.com/"><img src="http://img96.imageshack.us/img96/742/yahoopro.jpg" alt="Emails4Less.com"></img></a>

    so i can place my banner ads at some sites
     
    tennerrs.com, Feb 9, 2011 IP
  2. indianartist

    indianartist Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <a href="http://www.emails4less.com/"><img src="http://img96.imageshack.us/img96/742/yahoopro.jpg" alt="Emails4Less.com"></img></a>
     
    indianartist, Feb 9, 2011 IP
  3. tennerrs.com

    tennerrs.com Peon

    Messages:
    606
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    WTF thats what i have
    Dont bother posting if you cant help
     
    tennerrs.com, Feb 9, 2011 IP
  4. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #4
    What do you mean by turn this code into web link? otherwise whatever code you have, just need to insert into the html file for webpage to show up your banner / ad.
     
    radiant_luv, Feb 9, 2011 IP
  5. pakwatan

    pakwatan Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You were using the wrong image code.

    Try this.

     
    pakwatan, Feb 10, 2011 IP
  6. Annel

    Annel Well-Known Member

    Messages:
    148
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    103
    #6
    he doesn't use wrong image code at all, you just added couple of not-so-significant attributes

    what is wrong is his attitude...
     
    Annel, Feb 10, 2011 IP
  7. srisen2

    srisen2 Peon

    Messages:
    359
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you need to do something like
    $url = "<a href='http://www.emails4less.com/'><img src='http://img96.imageshack.us/img96/742/yahoopro.jpg' alt='Emails4Less.com'></img></a> ";
    $short = substr($url, 0, 7);
    if($short = 'http://'){
    $prior = substr($url, 7);
    $url = "http://www.".$prior;
    }
    if($short = 'https:/'){
    $prior = substr($url, 8);
    $url = "https://www.".$prior;
    }
    echo "$url";
     
    srisen2, Feb 14, 2011 IP