title: how to check if a multidimensional session array is set in php?
body: <p>In my code i have used the following code to create a multidimensional session array , which i use to store certain details . now i need to check if the sessionis set for certain id , while i run the same function again. 
  i have set a session array like this : </p>
  
  <pre><code>$_SESSION['table'][$request-&gt;id] = array('name'=&gt;$request-&gt;name , 'quantity'=&gt;$request-&gt;quantity , 'price'=&gt;$price*$request-&gt;quantity );
  </code></pre>
  
  <p>now what should i do  later to check if this session with that particular id is set or not?
  thanks in advance</p>