Posted By

crishnakh on 06/04/08


Tagged

php5 tildes acentos


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

luman


Reemplazar tildes 2


 / Published in: PHP
 

  1. $vocalti= array ("á","é","í","ó","ú","Á","É","Í","Ó","Ú");
  2. $vocales= array ("a","e","i","o","u","A","E","I","O","U");
  3.  
  4. str_replace($vocalti, $vocales,$variable);

Report this snippet  

You need to login to post a comment.