/ Published in: PHP
It is a simple function that remove accents and puts its closest equivalent throught htmlentities and preg_replace, very useful for SEF url and aliases
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function quitaAcentos($string,$lowercase=true) { return $string; } // echo quitaAcentos("copón") will show "copon"