function fixHtmlEntities($text) { $entities = array( "&" => "&", "<" => "<", ">" => ">", """ => '"', "'" => "'", "'" => "'" ); return strtr($text, $entities); }
function fixHtmlEntities($text) { $entities = array( "&" => "&", "<" => "<", ">" => ">", """ => '"', "'" => "'", "'" => "'" ); return strtr($text, $entities); }