title: Check if given key equals the given value
body: <p>Hello again Stackoverflow!</p>
  
  <pre><code>&lt;?php
      $array();
      $array['key1'] = 'value1';
      $array['key2'] = 'value2'
  ?&gt;
  </code></pre>
  
  <p>I have an array set up like this. And the user inputs for example "key1" and "value1". How do I check if it's from the same row? </p>