title: Comparing multiple values against multiple values
body: <p>Here is my problem. </p>
  
  <p>I have array $cities containing numeric values like this: 1,45,34,12... And I have multiple values stored in one column named 'areas' of database table 'area' like this:
  2,34,24,267...</p>
  
  <p>I need to compare values from 'areas' against values in array $cities (eg. 34 = 34) and get id's of each row with at least one match. So basicly I need to compare multiple values against
  multiple values.</p>
  
  <p>Just started with php so I don't have a clue where to start. Thanks. :)</p>