kylix Posted February 25, 2007 Share Posted February 25, 2007 I want to create an email link while I'm using php. Is there a way to do it? Everywhere I look I find examples such as: <? $to = "webmaster@php-scripts.com"; $from_header = "From: $from"; if($contents != "") Is there a way I can say "Click on email", and have the word email be a link? Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 25, 2007 Share Posted February 25, 2007 You can have the word email be a link, but if you want it to be a link which sends email via php, you need to use mail(). If you just want it to be an html email link that is just <a href="mailto:address@domain.com">Email</a> Quote Link to comment Share on other sites More sharing options...
kylix Posted February 26, 2007 Author Share Posted February 26, 2007 I just want it to be through html...so that's it! Thanks a mil! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.