Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-13-2008, 02:35 PM   #1
Advance Warrior
 
Tirmizi's Avatar
 
Join Date: Jun 2008
Location: Islamabad, Pakistan
Posts: 410
Thanks: 0
Thanked 1 Time in 1 Post
Contact Info
Send a message via MSN to Tirmizi
Default QUICK PHP QUESTION ???????

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

Tirmizi is offline   Reply With Quote
Old 08-13-2008, 02:43 PM   #2
Advanced Warrior
War Room Member
 
gabibeowulf's Avatar
 
Join Date: May 2008
Posts: 667
Thanks: 152
Thanked 126 Times in 69 Posts
Default

<a href="http://otherwebsite" >
<img src="<?php bloginfo('template_url'); ?>/images/ad1.gif" class="left" alt="" border=0 />
</a>

?
gabibeowulf is online now   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
desiging, how to, php, website development

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 06:53 AM.