Try str_replace with "\'" to replace """. may solve ur
problem
__
Enjoy this Diwali with Y! India Click here
http://in.promos.yahoo.com/fabmall/index.html
Yahoo! Groups Sponsor
Hi Marian,
In str_replace:
single quote, double quote, single quote
then:
double quote, single quote, double quote
- Original Message -
From: "Marian Briones" <[EMAIL PROTECTED]>
To:
Sent: Thursday, November 24, 2005 4:28 PM
Subject: [php-list] How to replace do
I am writing a page that outputs a bunch of JavaScript lines, and the
stuff coming out of the database contains double quotes, which must be
single quotes in order for my Javascript to work. (It's a scrolling
news box).
I tried str_replace and preg_replace and had bad results.
How do I do this?