Deleting from a multi dimensional array
<p>I need to delete from a multi dimensional array.</p>

<p>My array looks as follows </p>

<pre><code>Array(
   0 =&gt; Array(
      0 =&gt; "My Album",
      1 =&gt; "Testphoto2011-222231.jpg"
   ),
   1 =&gt; Array(
      0 =&gt; "Test Album",
      1 =&gt; "12345.jpg"
   )
);
</code></pre>

<p>What I want to do is search the value <code>"My Album"</code> and then delete the entire array from the array. </p>

<p>So for example the values <code>"My Album"</code> &amp; <code>"Testphoto2011-222231.jpg"</code> belong to <code>array[0]</code>. When found I want to delete <code>array[0]</code>.</p>

<p>Can anyone help me on this?</p>
