RE: [PHP] Problems escaping apostrophe, please help
| From: | Chris W. Parker | Date: | Fri, 10 Jun 2005 17:54:07 +0000 |
| Subject: | RE: [PHP] Problems escaping apostrophe, please help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-216817@lists.php.net to get a copy of this message | ||
Leila Lappin <mailto:galaxylappin@optonline.net>
on Thursday, June 09, 2005 7:46 AM said:
> ====== This is the rendering =======
> ====== (note the heart's apostrophe breaks IE and firefox) ===
> <li>
> <a href="#" onclick='document.form1.how.value="Pulmonary edema
> is a condition in which fluid accumulates in the lungs, usually
> because the heart's left ventricle does not pump adequately. In cases
Use htmlentities() instead.
Chris.