Posted by Steve on 09/19/05 14:09
> >>My problem is with the use of an apostrophe (single quote) and other such
> >>characters as they break my HTML. I'm also using javascript and it's a
> >>problem there as well.
Text in javascript strings that could have apostrophes must be escaped.
The javascript escape character is a backslash. To do this see the user
notes under <http://www.php.net/addslashes> - search that entry for
"javascript".
---
Steve
[Back to original message]
|