Dynamo
3 replies to this thread. Most Recent
Todd
30 May 2008, 9:49 pm
Database Email Links
Is it possible to format an email address that’s stored in a MySQL db to display as a clickable mailto link when viewed in a control panel (I don’t mean phpMyAdmin)? I can’t find any reference to this online but certainly it must be explained somewhere.
Todd
waltd
30 May 2008, 11:52 pmSure.
<a href="mailto:<?=$your_email_address_variable?>">E-mail me!</a>
Walter
Freeway user since 1997
Todd
31 May 2008, 12:09 amMy fault, I wasn’t specific. I can create a mailto, what I’m unable to do is have the email variable, email@hidden display as the actual address (email@hidden) but as a link instead of plain text. Whatever I try the email just disappears from the control panel.
Todd
On May 30, 2008, at 6:52 PM, waltd wrote:
Sure.
<a href="mailto:<?=$your_email_address_variable?>">E-mail me!</a>