Removing array key from multidimensional Arrays php
<p>I have this array</p>

<pre><code> $cart= Array(
      [0] =&gt; Array([id] =&gt; 15[price] =&gt; 400)
      [1] =&gt; Array([id] =&gt; 12[price] =&gt; 400)
    )
</code></pre>

<p>What i need is to remove array key based on some value, like this</p>

<pre><code>$value = 15;
</code></pre>

<p>Value is 15 is just example i need to check array and remove if that value exist in ID?</p>