title: PHP Search Multidimensional Array for Value
body: <p>I have the following array:</p>
  
  <pre><code>Array ( 
      [0] =&gt; Array ( [Country] =&gt; Americas [Out_Count] =&gt; 14 ) 
      [1] =&gt; Array ( [Country] =&gt; Belgium [Out_Count] =&gt; 2 ) 
      [2] =&gt; Array ( [Country] =&gt; China [Out_Count] =&gt; 33 ) 
      [3] =&gt; Array ( [Country] =&gt; France [Out_Count] =&gt; 7 ) 
  )
  </code></pre>
  
  <p>I have a variable as follows:</p>
  
  <pre><code>$los = 'Belgium';
  </code></pre>
  
  <p>What I'd like to do is search the array and bring back the value of <code>Out_Count</code> to a variable.</p>
  
  <p>I can use the following:</p>
  
  <pre><code>$key = array_search($los, array_column($outs, 'Country'));
  </code></pre>
  
  <p>This brings back the Key, in this case <code>1</code> for Belgium but I need the <code>Out_Count</code> value and I'm utterly stumped on how to achieve this.</p>
  
  <p>Any ideas and thoughts welcomed.</p>