title: PHP Session / Array Problem accesing
body: <p>I have a form that certain data, which then gets calculated and gets displayed in a table.<br>
  All the data gets saved in a 2 dimensional array.<br>
  Every time i go back to the form the new data gets saved in the array.
  That data will be displayed in the next table row and so on.</p>
  
  <p>I have used print_r($_Session) and everything gets properly saved in the array.</p>
  
  <p>Although i have no idea how to acces the session variables area, floor, phone, network etc wich are now in the array.</p>
  
  <p>Without arrays i stored them in a variable for example $phone , and did calculations with it.
  But now when i use the arrays, i keep on getting undefined index phone etc...</p>
  
  <p>How can i acces these variables, been looking at this for hours without getting any closer to a solution.</p>
  
  <p>Any help much appreciated.
  Regards.</p>
  
  <p>First page:</p>
  
  <pre><code>if (empty ($ _POST)) 
  ( 
      Mode = $ name $ _POST ['state name']; 
      $ Area = $ _POST ['size']; 
      $ Floor = isset ($ _POST ['floor'])? $ _POST ['Floor'] 0, / / if checkbox checked value 1 else 0 
      $ Phone = isset ($ _POST ['phone'])? $ _POST ['Phone']: 0; 
      $ Network = isset ($ _POST ['network'])? $ _POST ['Network']: 0; 
  
      / / Control surface 
      if (is_numeric ($ area)) / / OK 
      ( 
          if (isset ($ _SESSION ['table'])) 
          ( 
              / / Create a new row to the existing session table 
              $ Table = $ _SESSION ['table']; 
              $ Number = count ($ table); 
              $ Table [$ count] [0] = $ file name; 
              $ Table [$ count] [1] = $ size; 
              $ Table [$ count] [2] = $ floor; 
              $ Table [$ count] [3] = $ phone; 
              $ Table [$ count] [4] = $ network; 
              $ _SESSION ['Table'] = $ table; 
          ) 
  
          else 
          ( 
              / / Create the session table 
              $ Table [0] [0] = $ file name; 
              $ Table [0] [1] = $ size; 
              $ Table [0] [2] = $ floor; 
              $ Table [0] [3] = $ phone; 
              $ Table [0], [4] $ = network; 
              $ _SESSION ['Table'] = $ table; 
          ) 
  
              header ("Location: ExpoOverzicht.php"); 
  
      ) 
              else 
              ( 
                  echo "&lt;h1&gt; surface Wrong - New try &lt;/ h1&gt;"; 
              ) 
  
  )
  </code></pre>
  
  <p>When i made the php code withotu the arrays i declared like this, and it worked fine.
  But now there in the array, and i have no idea how to "acces them"</p>
  
  <pre><code>$standnaam = $_SESSION["standnaam"];
  $oppervlakte = $_SESSION["oppervlakte"];
  $verdieping = $_SESSION["verdieping"];
  $telefoon = $_SESSION["telefoon"];
  $netwerk = $_SESSION["netwerk"];
  </code></pre>