RE: [PHP] Newbie Question regarding Syntax
| From: | Creative Solutions New Media | Date: | Sun, 17 Aug 2003 23:59:32 +0000 |
| Subject: | RE: [PHP] Newbie Question regarding Syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159876@lists.php.net to get a copy of this message | ||
Thank you Curt.
Works great and your right I makes more sense to do it that way.
Tim Winters
Manager, Creative Development
Sampling Technologies Incorporated (STI)
webmaster@samplingtechnologies.com
csnm@samplingtechnologies.com
W: 902 450 5500
C: 902 430 8498
-----Original Message-----
From: Curt Zirzow [mailto:curt@zirzow.dyndns.org]
Sent: August 17, 2003 8:45 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Newbie Question regarding Syntax
* Thus wrote Creative Solutions New Media (csnm@ns.sympatico.ca):
> Sorry guys.....It think there is a bit of confusion.
>
> I miss typed what I need to do.....
>
>
> <?php echo 'Email: '.'<A
>
> HREF=mailto:'.$row_rep_RS['repEmail'].'>'.$row_rep_RS['repEmail'].'</A>';
?>
You should make sure to quote your html values ( href="value" ), it
will lead to trouble if you don't.
I would still do it like this:
Email: <a href="mailto:<?php echo
$row_rep_RS['repEmail']?>">
<?php echo $row_rep_RS['repEmail']?></a>
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