Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.26 KB | None | 0 0
  1. <?php ?>
  2. <!doctype html>
  3. <html lang="en">
  4.     <head>
  5.         <meta charset="UTF-8">
  6.         <meta name="viewport"
  7.               content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  8.         <meta http-equiv="X-UA-Compatible" content="ie=edge">
  9.  
  10.     <form action="pdf.php" method="post" role="form">
  11.         Departure airport<select name="airportStart">
  12.             <?php
  13.             include_once('airports.php');
  14.             foreach($airports as $key => $value){
  15.              echo '<option value='.$value['name'].'>'.$value['name'].' '.$value['code'].'</option>';
  16.            
  17.             }?>
  18.         </select>
  19.         <br>Arrive Airport<select name="airportEnd">
  20.             <?php
  21.             foreach($airports as $key => $value){
  22.              echo '<option value='.$value['name'].'>'.$value['name'].' '.$value['code'].'</option>';
  23.            
  24.             }?>
  25.         </select><br>
  26.         Date and time departure <input type="datetime-local" name="dateTime" min="0" step="1"><br>
  27.         Duration<input type="number" name="duration"min="0" step="1"><br>
  28.         Flight price<input type="number" name="price" min="0" step="0.01"><br>
  29.  
  30.         <input type="submit" value="send">
  31.     </form>
  32.  
  33. </body>
  34. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement