Guest User

Untitled

a guest
Nov 15th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. <label> Data de Nascimento: </label>
  2. <td>
  3. <input type="text" class="bradius" name="dia" size="2" maxlength="2">
  4. <input type="text" name="mes" size="2" maxlength="2" class="bradius" >
  5. <input type="text" name="ano" size="4" maxlength="4" class="bradius">
  6. </td>
  7.  
  8. $data_de_nascimento=$_POST['data de nascimento'];
  9.  
  10. <label> Data de Nascimento: </label>
  11. <form action="receber.php" method="post">
  12. <input type="text" class="bradius" name="dia" size="2" maxlength="2">
  13. <input type="text" name="mes" size="2" maxlength="2" class="bradius" >
  14. <input type="text" name="ano" size="4" maxlength="4" class="bradius">
  15. <input type="submit" name="enviar" value="Enviar">
  16. </form>
  17.  
  18. <?php
  19. $dia = $_POST['dia'];
  20. $mes = $_POST['mes'];
  21. $ano = $_POST['ano'];
  22. printf("Data de Nascimento: %s/%s/%s", $dia, $mes, $ano);
  23. ?>
  24.  
  25. <label> Data de Nascimento: </label>
  26. <form action="receber.php" method="post">
  27. <input type="date" class="bradius" name="data_nascimento">
  28. <input type="submit" name="enviar" value="Enviar">
  29. </form>
  30.  
  31. <?php
  32. $data_nascimento = $_POST['data_nascimento'];
  33. printf("Data de Nascimento: %s", $data_nascimento);
  34. ?>
Add Comment
Please, Sign In to add comment