Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/01/2011, 07:46
remy
 
Fecha de Ingreso: noviembre-2002
Mensajes: 147
Antigüedad: 22 años, 3 meses
Puntos: 0
Respuesta: Trabajo con STRING

Muchas gracias Abimaelrc pero no se resuelve el problema.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>

<body>
<?

$vocales = array("á", "e", "i", "o", "u", "A", "E", "I", "O", "U");
$vocales1 = array("a", "e", "i", "o", "u", "A", "E", "I", "O", "U");

$solo_consonantes1 = strtr("Holá Mundo de PHP",$vocales,$vocales1);

echo "$solo_consonantes1";

Resultado

Hol� Mundo de PHP