$string = preg_replace ("/[\"']/", '', $string);
http://forum.php.pl/index.php?showtopic=98808usunięcie skrajnych cudzysłowówhttp://php.net/stripslashes