Re[2]: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Tom Rogers
Hi, TR What I do to overcome this is in PHP do: TR $content = rawurlencode($content); TR and in the html javascript: TR unescape($content); I didn't do that very well, your code would look something like: li a href=# onclick='document.form1.how.value=unescape(?php

RE: Re[2]: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Leila Lappin
: Re[2]: [PHP] Problems escaping apostrophe, please help Hi, TR What I do to overcome this is in PHP do: TR $content = rawurlencode($content); TR and in the html javascript: TR unescape($content); I didn't do that very well, your code would look something like: li a href=# onclick