/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function lower($str){ #return preg_replace("/([A-Z\xC0-\xDF])/e","chr(ord('\\1')+32)",$str); $bien = "abcdefghijklmnñopqrstuvwxyzáéÃóúü"; $mal = "ABCDEFGHIJKLMNÑOPQRSTUVWXYZÃÉÃÓÚÜ"; }