Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

is it the same for a query?

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
ChristianeGuise
Asked:
ChristianeGuise
1 Solution
 
sihar86Commented:
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
 
ChristianeGuiseAuthor Commented:
Superb
Thank you so so much
0
 
pius_babbunCommented:
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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now