Page 1 of 1

How to make a clicka ble image

Posted: Tue Mar 15, 2011 8:20 pm
by rfcamat
Please help me make the following image clickable. It is currently not clickable. Please advise any change to the php code to make it clickable. Thank you very much.

Code: Select all

<?php

$image = "http://blog.tonerboss.com/wp-content/uploads/2011/03/TB-Banner-600by174banner.jpg";  
Echo "<img src=".$image." Style=width:575px;height:230px;>" ?>

Re: How to make a clicka ble image

Posted: Wed Mar 16, 2011 12:26 am
by Christopher

Code: Select all

<?php
$image = "http://blog.tonerboss.com/wp-content/uploads/2011/03/TB-Banner-600by174banner.jpg";  
echo "<a href=\"http://somesite.com\"><img src=\"$image\" style=\"width:575px; height:230px; border:0px;\"></a>";
?>

Re: How to make a clicka ble image

Posted: Wed Mar 16, 2011 12:29 am
by rfcamat
Thank you Christopher.