![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/06/2003, 11:02
|
| | Fecha de Ingreso: febrero-2002
Mensajes: 139
Antigüedad: 23 años Puntos: 0 | |
No funciona :( , no me muestra el resultado.
$string = implode ('', file ($url));
$pattern="<h1>(.*)$criterio(.*)</h1>";
function substr_count_regex($pattern, $string)
{
$array_datos = split($pattern ,$string);
return count($array_datos);
}
Cual es el fallo? pattern debe ser el criterio a buscar no?
Un saludo y perdon por ser tan pesado :P |