title: php create a new array from search results of another array
body: <p>My initial array is</p>
  
  <pre><code>$employees = array(
  array('name' =&gt; 'jack',
        'area' =&gt; 'crafts'),
  
  array('name' =&gt; 'janet',
        'area' =&gt; 'aquatics'),
  
  array('name' =&gt; 'brad',
        'area' =&gt; 'crafts')
  );
  </code></pre>
  
  <p>I am trying to create a new array based on the search results of another array so the new array should look like this if I search for 'crafts':</p>
  
  <pre><code>$employees2 = array(
  array('name' =&gt; 'jack',
        'area' =&gt; 'crafts'),
  
  array('name' =&gt; 'brad',
        'area' =&gt; 'crafts')
  );
  </code></pre>
  
  <p>What is the simplest solution I can do get get this new result.</p>