Re: Curious
| From: | Christian Reiniger | Date: | Thu, 29 Mar 2001 09:52:05 +0000 |
| Subject: | Re: Curious | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46059@lists.php.net to get a copy of this message | ||
On Wednesday 28 March 2001 23:59, you wrote:
> This is where I implement a reversal of quotes depending on what kind
> of quotes I'll be using in it - the draw back is hitting the . key a
> lot to concat with variables, but it makes the my code more readable
> (IMO - no \'s all over the place.
>
> So like this :
>
> echo '<a
> href="http://'.$url.'">'.$title.'</a>'."\n";
Why don't you simply use
echo "<a href='http://$url'>$title</a>\n";
?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
these days.
- Securityfocus on probing 36000000 hosts for known problems in 3 weeks