bgbs Posted May 30, 2008 Share Posted May 30, 2008 I have this code "<a href='email.php?to=$ad->user_id&emailSubj=$ad->title'>Email $poster->first_name</a>"; The only thing I need is to add Image link before the word "Email" So basically it outputs Email Peter(or any name) But I want to put email icon before "Email" Please help Thanks Ben Link to comment https://forums.phpfreaks.com/topic/108056-solved-need-help-inserting-image-into-code/ Share on other sites More sharing options...
LemonInflux Posted May 30, 2008 Share Posted May 30, 2008 What, as in... "<a href='email.php?to=$ad->user_id&emailSubj=$ad->title'><img src=\"image.jpg\" /> Email $poster->first_name</a>"; ? You don't need PHP for this, if I understand correctly. Link to comment https://forums.phpfreaks.com/topic/108056-solved-need-help-inserting-image-into-code/#findComment-553873 Share on other sites More sharing options...
bgbs Posted May 30, 2008 Author Share Posted May 30, 2008 WOW that worked Thanks man Link to comment https://forums.phpfreaks.com/topic/108056-solved-need-help-inserting-image-into-code/#findComment-553882 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.