Solved

is it the same for a query?

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn how to count occurrences of each item in an array.
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 …

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now