Dynamic Email Address in an HTML table
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Sun, 09 May 2004 23:36:57 +0000 |
| Subject: | Dynamic Email Address in an HTML table | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34335@lists.php.net to get a copy of this message | ||
Hello,
I have a page displaying the results of a query from a mysql database.
The final field displayed is an email address (in text datatype from the
table).
How can I create the email address in the field as a hyperlink to the
email address? Since my query loops through the database and displayes a
"row" per row in the db.
EX:
Field 1 Field 2 EmailAddress
Test Test me@here.com
In the email address field, the address shows up as text, how can I create
that as a mailto:me@here.com (or whatever the email address is).
Thank you
Terry