HTML question
| From: | Pete Holsberg | Date: | Sun, 19 Sep 2004 03:31:51 +0000 |
| Subject: | HTML question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-36246@lists.php.net to get a copy of this message | ||
I have a database that has an email field. I would like the
web page that is created dynamically from this database to
have a "mailto:" link for each email address but I don't
know what to put in the email field.
I tried replacing
echo "<td>{$row['Email']}</td>\n";
with
echo "<td><a href=mailto:{$row['Email']}>{$row['Email']}</a></td>\n";
but that didn't work.
Thanks.