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

quote

waltd

30 May 2008, 11:52 pm

Sure.

<a href="mailto:<?=$your_email_address_variable?>">E-mail me!</a>

Walter

quote

Freeway user since 1997

www.walterdavisstudio.com

Todd

31 May 2008, 12:09 am

My 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>

quote

Back to Top

Todd

31 May 2008, 1:00 am

Never mind, I got it. Damn my syntax.

Todd

quote

FreeCounter