[PHP] Re: Problems escaping apostrophe, please help

2005-06-10 Thread JamesBenson
Hello, what exactly do you mean when you say break the browser, if its a PHP error you get then its something to do with PHP, however, your javascript is not correct and produces errors, im not too good at javascript but know when I see an error, i could be wrong but dont think its possible to

[PHP] Re: Problems escaping apostrophe, please help

2005-06-10 Thread Satyam
in htmlentities() use the second optional argument with a value of ENT_QUOTES, which will escape also single quotes and is not the default. Satyam ps: which I didn't know and just read in the manual. "Leila Lappin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > I