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 = "[email protected]"; $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. Link to comment https://forums.phpfreaks.com/topic/40088-using-an-email-link-through-php/ 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:[email protected]">Email</a> Link to comment https://forums.phpfreaks.com/topic/40088-using-an-email-link-through-php/#findComment-193934 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! Link to comment https://forums.phpfreaks.com/topic/40088-using-an-email-link-through-php/#findComment-193940 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.