mailto($email, $title = '', $attributes = '')
Parameters: |
|
---|---|
Returns: |
A “mail to” hyperlink |
Return type: |
string |
Creates a standard HTML e-mail link. Usage example:
1 | echo mailto( '[email protected]' , 'Click Here to Contact Me' ); |
As with the anchor()
tab above, you can set attributes using the third parameter:
1 2 | $attributes = array ( 'title' => 'Mail me' ); echo mailto( '[email protected]' , 'Contact Me' , $attributes ); |
Please login to continue.