title: How do you remove some array from foreach
body: <p>i'm trying to remove some array from foreach 
  example for "result" array : </p>
  
  <pre><code>    $result= array (  
    "1"  =&gt; array(
      "nickname" =&gt; "Jow",
      "Age"=&gt; "19"
      ),
          "2"  =&gt; array(
      "nickname" =&gt; "Rayan",
      "Age"=&gt; "25"
      ),
          "3"  =&gt; array(
      "nickname" =&gt; "Jinx",
      "Age"=&gt; "21"
      ),
      );
  </code></pre>
  
  <p><strong>i want remove array 1 by nickname</strong> 
  mycode : </p>
  
  <pre><code>foreach ($result as $client =&gt; $value){
  
  if ( $value["nickname"] == "Jow"){
  
      unset($result[$client]);
  
      }
  echo $value["nickname"].'&lt;p&gt;';
  
  }
  </code></pre>
  
  <p>Eventually i want The remaining names like Rayan and Jinx</p>