Solved

is it the same for a query?

Posted on 2011-03-09
3
293 Views
Last Modified: 2013-12-13
Thank you very much Yes I did figure out too late...
but how could I manage for a query
like this
echo '<br> <b>Email:</b> '.$row['Email'];
should I put
echo '<a href="mailto:.$row['Email']'><?php echo $row['Email']; ?></a>

Open in new window

0
Comment
Question by:ChristianeGuise
3 Comments
 
LVL 2

Accepted Solution

by:
sihar86 earned 500 total points
ID: 35090821
echo '<a href="mailto:.$row['Email']'><?php echo $row['Email']; ?></a>

Open in new window


you miss the single quotes and double quotes
try this
echo '<a href="mailto:'.$row['Email'].'">'.$row['Email'].'</a>';

Open in new window

0
 

Author Closing Comment

by:ChristianeGuise
ID: 35091107
Superb
Thank you so so much
0
 
LVL 3

Expert Comment

by:pius_babbun
ID: 35091111
Hope this code helps you. Please check it.
<?php echo '<br> <b>Email:</b> <a href="mailto:'.$row["Email"].'>'.$row["Email"].'</a>'; ?>

Open in new window

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
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…
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 dynamically set the form action using jQuery.

803 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