Linking mail? |
[eluser]Tanax[/eluser]
Hi! I have a basic contact mail, and I'm linking it through a href html code like so: Code: <a href="[email protected]">[email protected]</a> Code: index.php/site/[email protected] I mean.. the link leads to that instead of a basic mail link. How would I make it link to [email protected] instead of index.php/site/[email protected] ??
[eluser]derekmichaeljohnson[/eluser]
Code: <a href="mailto:[email protected]">[email protected]</a>
[eluser]Dam1an[/eluser]
You can also use the mailto helper function if you want Code: echo mailto('[email protected]', 'Click Here to Contact Me'); There's also a safe_mailto function which protects the email address from spam bots
|
Welcome Guest, Not a member yet? Register Sign In |