frank_solo Posted January 11, 2012 Share Posted January 11, 2012 I'm using this php code and would like to know if there is a way to hide the email? echo "Email: <span style='color:#00F'><a href='mailto:".$result['email']."?subject=".$result['title']."'>".$result['email']."</span></a>"; Link to comment https://forums.phpfreaks.com/topic/254763-how-can-i-hide-email-address/ Share on other sites More sharing options...
trq Posted January 11, 2012 Share Posted January 11, 2012 mailto requires an email address, so, no. Link to comment https://forums.phpfreaks.com/topic/254763-how-can-i-hide-email-address/#findComment-1306356 Share on other sites More sharing options...
frank_solo Posted January 11, 2012 Author Share Posted January 11, 2012 Thanks for the reply thorpe but after the posting I've decided to put a contact form instead. Link to comment https://forums.phpfreaks.com/topic/254763-how-can-i-hide-email-address/#findComment-1306452 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.