Remove double quotes from string

[email protected] ("news.php.net")
Newsgroups php.general
Message-ID <[email protected]>
Hi,

I just switched from mSQL/lite to MySQL/php. I like it. But here is my
problem. I want to remove double quotes from a string.

I have tried:
  $quoteText = strtr($quoteText, """, " ");
  $quoteText = str_replace(""", " ", $quoteText);
--> Parsing error, obviously.

  $quoteText = strtr($quoteText, "\"", " ");
  $quoteText = str_replace("\"", " ", $quoteText);
--> No error but keeps the "\" in the new string.

Any suggestion?

Thanks!
Heiko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.