I found this website
http://www.rubiconproductions.com/content/coder.shtml?alphabet=dky@comcast.net&number=
where you can put in your email address
test@test.com
and it gives you code to put into your <a href>, when I put test@test.com it gives me the following
&# 116 ;&# 101 ;&# 115 ;&# 116 ;&# 064 ;&# 116 ;&# 101 ;&# 115 ;&# 116 ;&# 046 ;&# 099 ;&# 111 ;&# 109 ;
and I just put it into my html like so
<a href="mailto:test@test.com">Contact Me</a>
I'm trying to figure out if there's a way to get php to do this automatically. I have a list of email addresses in a database and I would like to echo them out in this html format. Is there a way to do that? Here's my code:
$MailLink="<a href='mailto:".$Row["EmailAddress"]."'>E-Mail<BR>".$Row["FullName"]."</a>";
Any help is appreciated!