php
if(isset($_POST['button6'])){
$name=$_POST['username'];
$password=$_POST['password'];
echo$name;
include'conn.php';
$sql="select*fromcustomerwherecustomer_username='$name'andcustomer_password='$password'";
$result=mysql_query($sql);
$row=mysql_fetch_assoc($result);
if($row){
echo"";
}
else{
echo"";
}
}
?
>
php
if(isset($_POST['button4'])){
include'conn.php';
$customer_username=$_POST['customer_username'];
$customer_password=$_POST['customer_password'];
$customer_name=$_POST['customer_name'];
$customer_card=$_POST['customer_card'];
$sql="insertintocustomer(customer_username,customer_password,customer_Name,customer_card)values('$customer_username','$customer_password','$customer_name','$customer_card')";
$result=mysql_query($sql)ordie('注册失败');
if($result!
=0){
echo"";
}
}
?
>
none"id=list_loadingclass=list_loading> block"id=list_wrapperclass=list_wrapper> php if(isset($_POST['button'])){ $firstplace=$_POST['first_name']; $lastplace=$_POST['last_name']; include'conn.php'; $sql="selecta.plane_name,b.first_place,b.last_place,b.first_time,b.last_time,b.changdu,c.moneyfromplanea,placeb,costcwherec.plane_ID=b.plane_IDanda.plane_ID=b.place_IDandb.first_place='$firstplace'andb.last_place='$lastplace'"; $result=mysql_query($sql); while($row=mysql_fetch_assoc($result)){ $plane_name=$row['plane_name']; $first_place=$row['first_place']; $last_place=$row['last_place']; $first_time=$row['first_time']; $last_time=$row['last_time']; $changdu=$row['changdu']; $cost=$row['money']; } echo" "; } ? > copyright@ 2008-2022 冰豆网网站版权所有 经营许可证编号:鄂ICP备2022015515号-1