<html>
<head>
<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> &gt;
<a href="del_flight.php">???????</a> &gt;
<a href="delled_flight.php">?????????</a> &gt;
<a href="00_flight.php">????????</a> &gt;
<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');//??????????
//include('flight_gaibu001_bc.php');//????(bc)??????
$fname='flight_time02.csv';//
addData($fname,$_POST);//(c)
showAllData($fname);//(b)

//???????????added_flight.php????00_flight.php??????????
//print "<META http-equiv='refresh' content=5;URL='http://shin-sapporo.com/wp/'>";
print "<META http-equiv='refresh' content=0.001;URL='00_flight.php'>";
print "???????????????????????";

 

 

}else{
echo "????????????<a href='add_flight.html'>??????????</a>";
}

?>

</body>
</html>