Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/09/2004, 19:07
Avatar de sir_notos
sir_notos
 
Fecha de Ingreso: noviembre-2001
Ubicación: Mexicali
Mensajes: 709
Antigüedad: 22 años, 5 meses
Puntos: 1
puedes usar el bucle foreach

Código PHP:
foreach($arr as $key)
{
if (
$key == $valor)
{
 
$cont++;
}
if (
$count 2)
{
 return 
true;
}
else
{
 return 
false;
}

__________________
Usuario Registrado de linux #374849