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