Looking at that array... you'd probably do something like this:
if(isset($_POST['option']))
$_SESSION['obstacle_array'][] = array('option' => $_POST['option'], 'number' => $_POST['number']);
To add something into the session variable, correct? Then, on the send page, you'd use something like this to process the array in the session:
foreach($_SESSION['obstacle_array'] as $array)
$array .= '(\'' . $array['option'] . '\', \'' . $array['number'] . '\'), ';
Note the typo in my previous, I used $value in the foreach() statement, but accidentally used $values below.