title: How do I compare two array's values?
body: <p>I have 2 arrays one retrieved from a database (saved results) and the other from an xml (new results)</p>
  
  <pre><code>$fromDB = array('123','124','524','15','616');
  $fromXML = array('123','124','524','15','818');
  </code></pre>
  
  <p>I want to compare those two and see which values are old (fromDB) and which are new (fromXML) so to insert the old value in a different table.</p>
  
  <p>How can i achieve this?</p>