", "", $string); $txt = str_replace("", "", $txt); $txt = str_replace("", "", $txt); $txt = str_replace("", "", $txt); $txt = str_replace("", "", $txt); $txt = str_replace("", "", $txt); $txt = str_replace("", "", $txt); $txt = str_replace("", "", $txt); $txt = strip_tags($txt); $txt = str_replace(chr(13).chr(10), "", $txt); $txt = str_replace(" ", " ", $txt); $txt = str_replace("Á", "Á", $txt); $txt = str_replace("á", "á", $txt); $txt = str_replace("É", "É", $txt); $txt = str_replace("é", "é", $txt); $txt = str_replace("Í", "Í", $txt); $txt = str_replace("í", "í", $txt); $txt = str_replace("Ó", "Ó", $txt); $txt = str_replace("ó", "ó", $txt); $txt = str_replace("Ú", "Ú", $txt); $txt = str_replace("ú", "ú", $txt); $txt = str_replace("Ñ", "Ñ", $txt); $txt = str_replace("ñ", "ñ", $txt); $txt = str_replace("à", "à", $txt); $txt = str_replace("À", "À", $txt); $txt = str_replace("¡", "¡", $txt); $txt = str_replace("·", "·", $txt); $txt = str_replace("Ç", "Ç", $txt); $txt = str_replace("ç", "ç", $txt); $txt = str_replace(""", '"', $txt); $txt = str_replace("ª", 'ª', $txt); $txt = str_replace("º", 'º', $txt); $txt = str_replace("&", '&', $txt); $txt = str_replace("•", '•', $txt); $txt = str_replace("¿", '¿', $txt); $txt = str_replace("€", 'EUR', $txt); $txt = str_replace("ü", 'ü', $txt); $txt = str_replace("Ü", 'Ü', $txt); $txt = str_replace("¨", '¨', $txt); return $txt; } /** * Remove all html tag. * * @param string $string The string to be stripped of accents * * @return string clean of html tag */ function removeQuotes($string) { $txt = str_replace(" ", " ", $string); $txt = str_replace("Á", "Á", $txt); $txt = str_replace("á", "á", $txt); $txt = str_replace("É", "É", $txt); $txt = str_replace("é", "é", $txt); $txt = str_replace("Í", "Í", $txt); $txt = str_replace("í", "í", $txt); $txt = str_replace("Ó", "Ó", $txt); $txt = str_replace("ó", "ó", $txt); $txt = str_replace("Ú", "Ú", $txt); $txt = str_replace("ú", "ú", $txt); $txt = str_replace("Ñ", "Ñ", $txt); $txt = str_replace("ñ", "ñ", $txt); $txt = str_replace(""", '"', $txt); $txt = str_replace("ª", 'ª', $txt); $txt = str_replace("º", 'º', $txt); $txt = str_replace("&", '&', $txt); $txt = str_replace("•", '•', $txt); $txt = str_replace("¿ &", '¿', $txt); $txt = str_replace("à", "à", $txt); $txt = str_replace("À", "À", $txt); $txt = str_replace("¡", "¡", $txt); $txt = str_replace("·", "·", $txt); $txt = str_replace("Ç", "Ç", $txt); $txt = str_replace("ç", "ç", $txt); $txt = str_replace("€", 'EUR', $txt); $txt = str_replace("ü", 'ü', $txt); $txt = str_replace("Ü", 'Ü', $txt); $txt = str_replace("uml;", '¨', $txt); return $txt; }