How could I loop through all the records of 2 queries (at the same time) that are stored in 2 associative arrays (mysql_fecth_assoc) and compare them with the function array_diff (array1, array2).
I did it this way and only loads (and compares well) the values of both arrays in the first record of each one, then only loads the values of array1 and does not travel through array2.
<?php do {
$arr = array_diff($array1,$array2)
foreach ($arr as $value) {
echo $value.' '.'<br>';}}
while($array1 = mysql_fetch_assoc($variable_query))?>