Solved

Turn field into mailto in mysql database

Posted on 2011-03-09
2
342 Views
Last Modified: 2013-12-13
I have a listing for my database and want to be able to send an email by clicking on the emails to click on the listing
this is part of my code
without the option
 <td><?php echo $row_languageLinks['Email']; ?></td>
with this the email appears but I cannot click on it
this is what I tried but It does not work
Please can you help me
<td><?php echo <a href="mailto $row_languageLinks['Email']"></a>; ?></td>

Open in new window

0
Comment
Question by:ChristianeGuise
2 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 35090391
You have them out of order.  Try this.
<td><a href="mailto:<?php echo $row_languageLinks['Email']; ?>"></a></td>

Open in new window

0
 
LVL 23

Expert Comment

by:OP_Zaharin
ID: 35090436
you can try this:

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now