if (isset($_POST['add']))
{
$_SESSION['cart'] [] = array('id'=>$_POST['id'],
'description'=>$_POST['description'],
'price'=>$_POST['price']);
header('Location: .');
exit();
}