Solved

is it the same for a query?

Posted on 2011-03-09
3
296 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
[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
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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.

705 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