Ticket Reservation Form Date of journey Source Delhi Mumbai Banglore Destination Delhi Mumbai Banglore AIR TICKET RESERVATION Name: Contact No: Source station: Destination station: No.Of Passengers: Date of journey Price per ticket: Total ticket price Thankyou For Choosing our platform And HAVE A HAPPY JOURNEY
Name:
Contact No:
Source station:
Destination station:
No.Of Passengers:
Date of journey
Price per ticket:
Total ticket price
.main-div{ background-image: url('Background.jpg'); background-size: cover; background-position: center; padding-top: 15px; padding-bottom: 15px; } .div1{ background: rgba(0,0,0,0.5); margin-right:2rem; margin-left:2rem; border: solid ; border-radius: 5px; color: white; } .inp{ border: solid ; font-size: 1em; border-radius: 10px; align-content: center; } .ticket-div{ margin-top:2rem; background-image: url('Background.jpg'); background-size: cover; background-position: center; padding-top: 15px; padding-bottom: 15px; } .ticket-div1{ background: rgba(0,0,0,0.5); margin-right:2rem; margin-left:2rem; border: solid ; border-radius: 5px; color: white; } .childs{ display: flex; justify-content: space-between; } .fs{ text-align: left; margin-left: 2rem; } .ls{ margin-right:2rem; }
[ 'Mumbai' => 6000, 'Banglore' => 10000, ], 'Mumbai' => [ 'Delhi' => 7000, 'Banglore' => 5000, ], 'Banglore' => [ 'Mumbai' => 6000, 'Delhi' => 10000, ], ]; //Taking data from form if ($_SERVER['REQUEST_METHOD'] === 'POST') { $name = $_POST['name']; $con = $_POST['con']; $nop = $_POST['nop']; $doj = $_POST['doj']; $sou = $_POST['sou']; $dest = $_POST['dest']; //calculation ticket prices $tp = $ticketprices[$sou][$dest]; $totalprice= $tp * $nop; ?>
0 Comments