title: PHP Search Array column for match
body: <p>I have an array as below, which has multiple columns. I want to search in the first column for a specific value, and have the rows that match returned. Is that possible to do?</p>
  
  <p>For example:</p>
  
  <pre><code>Array (
  [0] =&gt; Array ( [id] =&gt; 1 [column2] =&gt; value2 [column3] =&gt; value3 [column4] =&gt; value4 [column5] =&gt; value5 ) 
  [1] =&gt; Array ( [id] =&gt; 1 [column2] =&gt; value2 [column3] =&gt; value3 [column4] =&gt; value4 [column5] =&gt; value5 ) 
  [2] =&gt; Array ( [id] =&gt; 2 [column2] =&gt; value2 [column3] =&gt; value3 [column4] =&gt; value4 [column5] =&gt; value5 
  )
  </code></pre>
  
  <p>So let's say I want to search the "id" column for "1" and have the results displayed. How can this be done? Thank you so much!</p>