Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/03/2010, 05:24
Avatar de lucasphp
lucasphp
 
Fecha de Ingreso: mayo-2009
Ubicación: Misiones
Mensajes: 170
Antigüedad: 15 años
Puntos: 3
Respuesta: Problemas al comparar arrays

Algo así te decía yo:

Código PHP:
$c=0;
while(
$fila2 mysql_fetch_array($res2)){
$array1[$c]=$fila2[0];
$c++;

$c=0;
while(
$fila3=mysql_fetch_array($res3)){
$array2[$c]=$fila3[0];
$c++;
}
$comp array_diff($array1$array2);