title: Two arrays match them and display unmatched
body: <p>I have two arrays <code>$jlist</code> and <code>$vlist</code>, I need to display the unmatched entries.</p>
  
  <pre><code>if($jlist==$vlist) echo ''; 
  else echo $vlist;
  </code></pre>
  
  <p>my looping attempts have failed along with using the foreach method. Please advise. </p>
  
  <pre><code>if(count($jlist)&gt;0)&amp;&amp;(count($vlist)&gt;0)
  {
      foreach($jlist as $j)&amp;&amp;($vlist as $v)
      {
          if($v==$j)echo '';
          else 
              echo '&lt;option&gt;'.$v.'&lt;/option&gt;';
      }
  }
  </code></pre>