Hi - hopefully this is a simple question, just HTML / PHP.
I have a php script that retrieves (among others) bare email addresses from a DB table (i.e., just in the form ' whatever.thing@ example.com') which are then displayed on a webpage. I would like these to be clickable links, so have the relevant line as:
Everything echoes properly, with the email address clickable. As a test, I retrieved my own email address.
However...when I mouseover this link, all that appears in the status bar is "mailto:" without an address. And clicking on the link sends the mail from me rather than to me!
I have a php script that retrieves (among others) bare email addresses from a DB table (i.e., just in the form ' whatever.thing@ example.com') which are then displayed on a webpage. I would like these to be clickable links, so have the relevant line as:
Code:
echo "<b>Email: </b><a href='mailto:>" .$themail. "</a><br>";
However...when I mouseover this link, all that appears in the status bar is "mailto:" without an address. And clicking on the link sends the mail from me rather than to me!
Comment