Re: Newbie Question regarding Syntax
| From: | Curt Zirzow | Date: | Sun, 17 Aug 2003 23:27:47 +0000 |
| Subject: | Re: Newbie Question regarding Syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159872@lists.php.net to get a copy of this message | ||
* Thus wrote Creative Solutions New Media (csnm@ns.sympatico.ca):
> <?php echo 'Email: '.'<A
>
> HREF="mailto:me@mine.com">'.$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:me@mine.com">
<?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."