php remove single quote from string code example Example: php remove quotes str_replace('"', "", $string);