Reemplazar tildes 2


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



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.