Solved

Turn field into mailto in mysql database

Posted on 2011-03-09
2
351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

690 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