Guest User

Untitled

a guest
Nov 24th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.03 KB | None | 0 0
  1. <?php
  2.  
  3. print '<table>
  4. <tr>
  5.  <td><form action="./add.php" method="post">Rue: <input name="rue" type="text" /><td>&nbsp;<td>&nbsp;
  6. </tr>
  7. <tr>
  8.  <td><form action="./add.php" method="post">Cp: <input name="cp" type="text" /><td>&nbsp;<td>&nbsp;
  9. </tr>
  10. <tr>
  11.  <td><form action="./add.php" method="post">Ville: <input name="ville" type="text" /><td>&nbsp;<td>&nbsp;
  12. </tr>
  13. <tr>
  14.  <td><form action="./add.php" method="post">Dept: <input name="prod" type="text" /><td>&nbsp;<td>&nbsp;
  15. </tr>
  16. <tr>
  17.  <td><form action="./add.php" method="post"> Badge: <input name="keycard" type="text" /><td>&nbsp;<td>&nbsp;
  18. </tr>
  19. <tr>
  20.  <td><form action="./add.php" method="post"> MgPhone: <input name="phone" type="text" /><td>&nbsp;<td>&nbsp;
  21. </tr>
  22. <tr>
  23.  <td><form action="./add.php" method="post"> Gsm: <input name="mobile" type="text" /><td>&nbsp;<td>&nbsp;
  24. </tr>
  25. <tr>
  26.   <td>&nbsp;<td><input type="submit" /><td>&nbsp;
  27. </tr>
  28. </table>';
  29.  
  30. if (isset($_POST['adresse'])){
  31. $adresse =  $_POST['adresse'];
  32. print "
  33.     <br>
  34.     $adresse
  35.     <br>";
  36. };
  37.  
  38. ?>
Add Comment
Please, Sign In to add comment