Solved

is it the same for a query?

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Echo'd values in dropdowns 6 52
How to remove  "0":  in a json string 4 41
Export Data from MySql Using PHP 16 62
How to convert PHP array into string ? 15 16
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

739 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