Funcão converte Maiúscula e Minuscula


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function uppercase($string)
  2. {
  3. $palavra = strtr(strtoupper($string),"àáâãäåæçèéêëìíîïðñòóôõö÷øùüúþÿ","ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÜÚÞß");
  4. return $palavra;
  5. }
  6.  
  7.  
  8.  
  9. function lowercase($string)
  10. {
  11. return strtolower($string);
  12. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.