<title>added_fligh.php??????????????????</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<h3>?????????????????????</h3>
<p>add_flight_html???????????????????????</p>
<p>
<a href="add_flight.html">???????</a> >
<a href="del_flight.php">???????</a> >
<a href="delled_flight.php">?????????</a> >
<a href="00_flight.php">????????</a> >
<a href="add_flight_sea.php">??????</a>
</p>
<?php
//?????????????????????????????????????????
$dep_plc = htmlspecialchars($_POST['dep_place']);
$arr_plc = htmlspecialchars($_POST['arr_place']);
$dep_time = htmlspecialchars($_POST['dep_time']);
$arr_time = htmlspecialchars($_POST['arr_time']);
$airline = htmlspecialchars($_POST['airline']);
//???????????????????????????
if($dep_plc!="" && $arr_plc!="" && $dep_time!="" && $arr_time!="" && $airline!=""){
include('flight_gaibu001_00.php');//??????????
$fname='flight_time02.csv';//
addData($fname,$_POST);//
showAllData($fname);
}else{
echo "????????????<a href='add_flight.html'>??????????</a>";
}
?>
<?php
/*
//???????
include('flight_gaibu001_00.php');//??????????
//include('flight_gaibu001_cb.php');//??????????
$fname='flight_time02.csv';//??????????????
addData($fname,$_POST);//?????????????????????????????????????
showAllData($fname);
*/
?>
</body>
</html>