Remove double quotes from string

From: Date: Tue, 16 May 2000 13:10:45 +0000
Subject: Remove double quotes from string
Groups: php.general 
Request: Send a blank email to php-general+get-93@lists.php.net to get a copy of this message
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

« previous php.general (#93) next »