i have this:
while($modulos = mysql_fetch_assoc($query_mod)) {
print_r($modulos);
echo "<br />";
}
echo "<br />";
while($resposta = mysql_fetch_assoc($query_respostas)) {
print_r($resposta);
echo "<br/>";
}
it return me this:
Array ( [modulo_id] => 1 )
Array ( [modulo_id] => 3 )
Array ( [modulo_id] => 4 )
Array ( [modulo] => 3 )
Array ( [modulo] => 4 )
I need to compare this two arrays, for each key of the first one.. i need to see if there's an equal value in the second one...
in this cause it should give me false for the "1" value and true for 3 and 4.
But i cant find a way to do it..
please.. help... i m really stressed with this stuff :queasy: