Sorry guys.....It think there is a bit of confusion.

I miss typed what I need to do.....

$row_rep_RS['repEmail'] is actually the email address I want to turn into a
link.

So I guess it would look something like.....

<?php echo 'Email: '.'<A
HREF=mailto:'.$row_rep_RS['repEmail'].'>'.$row_rep_RS['repEmail'].'</A>'; ?>

Whew....think I made a mess of that!!!!

Is that any more clear?

Thanks for the very quick responses guys!!!!!

Tim Winters
Manager, Creative Development
Sampling Technologies Incorporated (STI)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
W: 902 450 5500
C:  902 430 8498

-----Original Message-----
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: August 17, 2003 8:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Newbie Question regarding Syntax

* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]):
> <?php echo 'Email: '.'<A
> HREF="mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].'</A>'; ?>
>
> Obviously this isn't working. What is the proper syntax when you have to
use
> double quotes inside the tag?

I usually prefer this method, its a style choice and others might
argue using it.:

Email: <a href="mailto:[EMAIL PROTECTED]">
  <?php echo $row_rep_RS['repEmail']; ?></a>

A lot easier/cleaner than to trying to concat and escape
everything.


Curt
--
"I used to think I was indecisive, but now I'm not so sure."

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to