pouncer Posted January 23, 2007 Share Posted January 23, 2007 <td><img src="<?php echo $image; ?>" alt="Generating image"></td>can someone show me what to add to this line to make the image a hyperlink? Link to comment https://forums.phpfreaks.com/topic/35444-hyperlinking-image/ Share on other sites More sharing options...
Jessica Posted January 24, 2007 Share Posted January 24, 2007 This is an HTML question, not PHP[code]<td><a href="URLHERE"><img src="<?php echo $image; ?>" alt="Generating image"></a></td>[/code] Link to comment https://forums.phpfreaks.com/topic/35444-hyperlinking-image/#findComment-167706 Share on other sites More sharing options...
pouncer Posted January 24, 2007 Author Share Posted January 24, 2007 [quote author=jesirose link=topic=123746.msg511914#msg511914 date=1169596809]This is an HTML question, not PHP[code]<td><a href="URLHERE"><img src="<?php echo $image; ?>" alt="Generating image"></a></td>[/code][/quote]thanks and sorry :p Link to comment https://forums.phpfreaks.com/topic/35444-hyperlinking-image/#findComment-167708 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.