Jump to content

How do i create an email link in PHP?


worldcomingtoanend

Recommended Posts

You would just echo out that link...

 

echo '<a href="mailto:[email protected]">Email me</a>';

 

Either that, or you're asking the wrong question :)

---------------------------------

 

using the above can I echo like this? :  echo '<a href="mailto:<?php $email;?>">Email me</a>';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.