How to find in mysql_fetch_array while and foreach cycle variables?
<p>I need to do a search in each $row2 variable, so i could find if there is columns that are not equal to $row1 column.</p>

<p>This is what I tried, </p>

<pre><code>$result1 = mysql_query('SELECT gpu FROM ng2s3_content');
$result2 = mysql_query("SELECT gpu FROM bigc3_gpu");

while ($row1 = mysql_fetch_array($result1)) {
while ($row2 = mysql_fetch_array($result2)) {
foreach ($row2 as $ar) {
if ($ar == $row1[0]) {      
            }
            else {
                echo $ar;
            }
        }
    }
}
</code></pre>
