I have a php page listing all info entered into mysql. One of the fields is an email address, I would like the address to be mailto:
All I could think of is

<a href= "mailto:?id=<?php echo $row_rsBday['id']; ?>"<?php echo $row_rsBday['email']; ?>  </a></p>

No luck with that
Any Ideas?
Thank You

Recommended Answers

All 2 Replies

try this:

<a href="mailto:<?php echo $row_rsBday['email'];?>"><?php echo $row_rsBday['email'];?></a>

Thank You kkeith29
Works great!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.