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