Solved

Turn field into mailto in mysql database

Posted on 2011-03-09
2
350 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

734 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