HTML question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux