Re: [PHP] find replace quotes with single quotes

2002-06-18 Thread Dan McCullough
Here is the snippet of code I'm working with. htmlMsg = displayMsg.replace(/"\""/gi,newHTML); --- Adam Voigt <[EMAIL PROTECTED]> wrote: > Hope this helps ya: > > str_replace("\"","'",$data); > > Adam Voigt > [EMAIL PROTECTED] > > On Tue, 2002-06-18 at 09:54, Dan McCullough wrote: > > I need to

Re: [PHP] find replace quotes with single quotes

2002-06-18 Thread Stuart Dallas
On Tuesday, June 18, 2002, 2:54:31 PM, Dan McCullough wrote: > I need to strip out the double quotes and replace it with single quotes. > Any help would be appreciated. $dest = str_replace("\"", "'", $source); -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] find replace quotes with single quotes

2002-06-18 Thread Adam Voigt
Hope this helps ya: str_replace("\"","'",$data); Adam Voigt [EMAIL PROTECTED] On Tue, 2002-06-18 at 09:54, Dan McCullough wrote: > I need to strip out the double quotes and replace it with single quotes. > Any help would be appreciated. > > __ >