QUICK PHP QUESTION ???????

1 replies
Dear Warriors,



Just wanted to ask a quick php question, I have a page on which we have static pictures but i want those pictures to be clickable as currently they don't link to anything the code is

<img src="<?php bloginfo('template_url'); ?>/images/ad1.gif" class="left" alt="" />

now how can i make this code to link to some other website ... i mean the graphic that should link to some other website ...

I hope you get the idea..



Best Regards,



Tirmizi
#desiging #how to #php #website development
  • Profile picture of the author gabibeowulf
    <a href="http://otherwebsite" >
    <img src="<?php bloginfo('template_url'); ?>/images/ad1.gif" class="left" alt="" border=0 />
    </a>

    ?
    {{ DiscussionBoard.errors[21368].message }}

Trending Topics