Any idea why when I print the value of $text, I get a backslash in front of
the result.

Any of the following:

$text=preg_replace("/\"/", """, $text);
$text=preg_replace("/\"/", "A", $text);

str_replace() also does the same :(

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to