title: Unset session item array from session cart array
body: <pre><code>Array ( 
     [0] =&gt; Array ( 
        [0] =&gt; Array ( 
           [subject] =&gt; Computer [price] =&gt; 33.00
           [quantity] =&gt; 1 
           [total] =&gt; 33
           [level] =&gt; Array (
              [CSA] =&gt; 1
              [CSB] =&gt; 2
           )
        )
     )
     [1] =&gt; Array (
        [0] =&gt; Array (
           [subject] =&gt; English
           [price] =&gt; 33.00
           [quantity] =&gt; 25
           [total] =&gt; 825
           [level] =&gt; Array (
              [Eintro] =&gt; 1
              [EA] =&gt;
              [EB] =&gt; 1
           )
        )
     )
  </code></pre>
  
  <p>Guys, I have a session cart array like above. How to remove the item if the subject Computer and price, quantity, total and level which is related to the subject Computer.</p>
  
  <p>I know I have to use unset SESSION. But how to unset the session array only for the Computer row only and doesn't affect other items array in the cart?</p>
  
  <pre><code>var_export($session_cart);
  
  array ( 
     0 =&gt; array ( 
        0 =&gt; array ( 
           'subject' =&gt; 'Computer', 
           'price' =&gt; '33.00',
           'quantity' =&gt; 1,
           'total' =&gt; 33, 
           'level' =&gt; array ( 
              'CSA' =&gt; '1', 
              'CSB' =&gt; '2',
           ),
        ),
     ), 
     1 =&gt; array ( 
        0 =&gt; array ( 
           'subject' =&gt; 'English',
           'price' =&gt; '33.00',
           'quantity' =&gt; 25,
           'total' =&gt; 825,
           'level' =&gt; array (
              'EA' =&gt; '1',
              'EB' =&gt; '1',
           ), 
        ), 
     ),
  </code></pre>