SHOW:
|
|
- or go back to the newest paste.
1 | $fName = filter_input(INPUT_POST, 'fName', FILTER_SANITIZE_ENCODED); | |
2 | - | $lName = filter_input(INPUT_POST, 'lName', FILTER_SANITIZE_ENCODED); |
2 | + | $lName = filter_input(INPUT_POST, 'lName', FILTER_SANITIZE_ENCODED); |
3 | - | $phone = filter_input(INPUT_POST, 'phone', FILTER_SANITIZE_ENCODED); |
3 | + | $phone = filter_input(INPUT_POST, 'phone', FILTER_SANITIZE_ENCODED); |
4 | - | $email = filter_input(INPUT_POST, 'email', FILTER_SANITIZE_ENCODED); |
4 | + | $email = filter_input(INPUT_POST, 'email', FILTER_SANITIZE_ENCODED); |
5 | - | $depart = filter_input(INPUT_POST, 'depart', FILTER_SANITIZE_ECODED); |
5 | + | $depart = filter_input(INPUT_POST, 'depart', FILTER_SANITIZE_ECODED); |
6 | - | $destination = filter_input(INPUT_POST, 'destination', FILTER_SANITIZE_ENCODED); |
6 | + | $destination = filter_input(INPUT_POST, 'destination', FILTER_SANITIZE_ENCODED); |
7 | - | $passengers = filter_input(INPUT_POST, 'noPassengers', FILTER_SANITIZE_ENCODED); |
7 | + | $passengers = filter_input(INPUT_POST, 'noPassengers', FILTER_SANITIZE_ENCODED); |
8 | - | $inDay = filter_input(INPUT_POST, 'inDay', FILTER_SANITIZE_ENCODED); |
8 | + | $inDay = filter_input(INPUT_POST, 'inDay', FILTER_SANITIZE_ENCODED); |
9 | - | $inMonth = filter_input(INPUT_POST, 'inMonth', FILTER_SANITIZE_ENCODED); |
9 | + | $inMonth = filter_input(INPUT_POST, 'inMonth', FILTER_SANITIZE_ENCODED); |
10 | - | $inYear = filter_input(INPUT_POST, 'inYear', FILTER_SANITIZE_ENCODED); |
10 | + | $inYear = filter_input(INPUT_POST, 'inYear', FILTER_SANITIZE_ENCODED); |
11 | - | $message = "First Name: " . $fName . "\n" . |
11 | + | $message =""; |
12 | - | "Last Name: " . $lName . "\n" . |
12 | + | $message .= "First Name: " . $fName . "\n"; |
13 | - | "Phone Number: " . $phone . "\n" . |
13 | + | $message .="Last Name: " . $lName . "\n"; |
14 | - | "Depart From: " . $depart . "\n" . |
14 | + | $message .="Phone Number: " . $phone . "\n"; |
15 | - | "Destination: " . $destination . "\n" . |
15 | + | $message .="Depart From: " . $depart . "\n"; |
16 | - | "Passengers: " . $passengers . "\n" . |
16 | + | $message .="Destination: " . $destination . "\n"; |
17 | - | "Date: " . $inDay . "/" . $inMonth . "/" . $inYear; |
17 | + | $message .="Passengers: " . $passengers . "\n"; |
18 | $message .="Date: " . $inDay . "/" . $inMonth . "/" . $inYear; |