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