$type = '新卒'; $name = NULL; $phonetic = NULL; $birthday = NULL; $tel = NULL; $mail = NULL; $history = NULL; $remarks = NULL; if(isset($_POST['type'])){ $type = $_POST['type']; } if(isset($_POST['name'])){ $name = $_POST['name']; } if(isset($_POST['phonetic'])){ $phonetic = $_POST['phonetic']; } if(isset($_POST['birthday'])){ $birthday = $_POST['birthday']; } if(isset($_POST['tel'])){ $tel = $_POST['tel']; } if(isset($_POST['mail'])){ $mail = $_POST['mail']; } if(isset($_POST['history'])){ $history = $_POST['history']; } if(isset($_POST['remarks'])){ $remarks = $_POST['remarks']; } ?>