";
var_dump($_SESSION['basic_info']);
echo "
'; var_dump($_SESSION['companion_info']); $companion_info=array(); $companion_store = array(); if(isset($_POST)){ $companion_info = $_POST; foreach($companion_info as $key=>$value){ if(preg_match('/^comp_name_[0-9]+/',$key)) $companion_store += array($key=>$value); if(preg_match('/^comp_romaji_[0-9]+/',$key)) $companion_store += array($key=>$value); if(preg_match('/^comp_date_[0-9]+/',$key)) $companion_store += array($key=>$value); } $_SESSION['companion_info'] = $companion_store; } var_dump($_SESSION['companion_info']); ?>
'; var_dump($_SESSION['companion_info']); $companion_info=array(); $companion_store = array(); if(isset($_POST)){ $companion_info = $_POST; foreach($companion_info as $key=>$value){ if(preg_match('/^comp_name_[0-9]+/',$key)) $companion_store += array($key=>$value); if(preg_match('/^comp_romaji_[0-9]+/',$key)) $companion_store += array($key=>$value); if(preg_match('/^comp_date_[0-9]+/',$key)) $companion_store += array($key=>$value); } $_SESSION['companion_info'] = $companion_store; } var_dump($_SESSION['companion_info']); ?>