MY CODE >> Session Array
<!--
    Tommy Martin
    February 8, 2014
	
    This two page website was create to test passing an array through a session.
 -->
 
<?php session_start(); 

    $x = array();
    $x [0][0] = 0;
    $x [0][1] = 'Becky';
    $x [1][0] = 1;
    $x [1][1] = 'Karlie';
    $x [2][0] = 2;
    $x [2][1] = 'Summer';
	
    $_SESSION['person'] = $x;
	
?>

<html>
    <head>
        <title>
            Sessions
        </title>
    </head>
		
    <body>
		
        PageOne <br /> <br />
		
        <?php
		
            for($i = 0; $i < 3; $i++)
            {
                echo $_SESSION['person'][$i][0] . " - " . $_SESSION['person'][$i][1] . "<br />";
            }
			
        ?>
		
        <form action="PageTwo.php">
            <button type="submit">Try it</button>
        </form>
	
    </body>
	
</html>
<?php session_start(); ?>	

<html>
    <head>
        <title>
            Sessions
        </title>	
    </head>
	
	
	
    <body>
		
        PageTwo <br /> <br />
		
        <?php
		
            for($i = 0; $i < 3; $i++)
            {
                echo $_SESSION['person'][$i][0] . " - " . $_SESSION['person'][$i][1] . "<br />";
            }
		
        ?>
		
        <form action="PageOne.php">
            <button type="submit">Go to PageOne</button>
        </form>
	
    </body>
	
</html>