mitov Posted May 4, 2009 Share Posted May 4, 2009 Hiya, I need some help to change a text link to an image link. The following is the code snippet at the moment: $html .= '>'.$_MT_LANG->RECOMMEND ."</a>"; From what i understand, it's making the text located in the Language file linkable. Is it possible to change this code to make an image in the root folder of my site linkable instead of the text? I can supply the full code if needed. Thank you for help! Link to comment https://forums.phpfreaks.com/topic/156772-help-with-changing-a-text-link-to-an-image-link/ Share on other sites More sharing options...
Ken2k7 Posted May 4, 2009 Share Posted May 4, 2009 $html .= '><image src="/path/to/image.gif" /></a>'; Link to comment https://forums.phpfreaks.com/topic/156772-help-with-changing-a-text-link-to-an-image-link/#findComment-825641 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.