Display name as an email link
Posted 16 March 2006 - 04:40 PM
eg. Username: adminiistrator
Instead I would prefer to just have the user's username as a link to their email?
How is this possible?
Or perhaps as a link so that a popup will appear with users email and phone number??
I tried the link something like this -
where $email is the result of a query - $email = $row['Email'] and
$user is similar - $user = $row['username'];
Ideally id like to see both options above to see which one looks best, but if i could get help
with either that would be great?
Posted 16 March 2006 - 05:10 PM
That should work as long as the values are set correctly
Posted 16 March 2006 - 05:15 PM
<?php echo '<a href="mailto:' . $email . '">' . $user . '</a>'; />
Which does the same thing, but is easier to read
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users