Link to home
Start Free TrialLog in
Avatar of wantabe2
wantabe2Flag for United States of America

asked on

PHP Code Link Question

How can I add a link to http://www.google.com in this code? I'd like for th euser to be able to click on the photo displayed on the page & it take them to google website...thanks


<center>	<img alt="" height="63" src="./includes/myphoto.jpg" width="106" /><br></center>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of duncanb7
duncanb7

Just insert the following into html code area that you want to display the link

Duncan

<?php

$str='<center>	<img alt="" height="63" src="./includes/myphoto.jpg" width="106" /><br></center>';
echo $str;

?>

Open in new window