Re: &
| From: | John W. Holmes | Date: | Wed, 28 Jan 2004 18:35:58 +0000 |
| Subject: | Re: & | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176092@lists.php.net to get a copy of this message | ||
From: "Gerard Samuel" <php-general@trini0.org>
> You're absolutely correct. I jumped the gun way too early.
> My experience with replacing & with & is that if the content already
> contains entity content, for example
> Running str_replace will mess them up.
Depends how you define "mess them up"... If you want to display
literally on a web page, then you need to write &nbsp; in the source. So
this may not be messing things up but rather preparing them to be shown on a
web page, literally.
---John Holmes...