Aiteee
No notes
Syntax:
No syntax
<html>
<head>
<title>Probando</title>
</head>
<body>
<h1>Hola amigos</h1>
<p>Esto es una <b>prueba</b> para ver como funciona</p>
<?
function tiene_acentos($cadena){
$buscar = "áéíóúüÁÉÍÓÚÜñÑ";
for ($i=0; $i<strlen($cadena); $i++){
if (strpos($buscar, substr($cadena,$i,1))!==false)
return true;
}
return false;
}
?>
</body>
</html>