Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label> Data de Nascimento: </label>
- <td>
- <input type="text" class="bradius" name="dia" size="2" maxlength="2">
- <input type="text" name="mes" size="2" maxlength="2" class="bradius" >
- <input type="text" name="ano" size="4" maxlength="4" class="bradius">
- </td>
- $data_de_nascimento=$_POST['data de nascimento'];
- <label> Data de Nascimento: </label>
- <form action="receber.php" method="post">
- <input type="text" class="bradius" name="dia" size="2" maxlength="2">
- <input type="text" name="mes" size="2" maxlength="2" class="bradius" >
- <input type="text" name="ano" size="4" maxlength="4" class="bradius">
- <input type="submit" name="enviar" value="Enviar">
- </form>
- <?php
- $dia = $_POST['dia'];
- $mes = $_POST['mes'];
- $ano = $_POST['ano'];
- printf("Data de Nascimento: %s/%s/%s", $dia, $mes, $ano);
- ?>
- <label> Data de Nascimento: </label>
- <form action="receber.php" method="post">
- <input type="date" class="bradius" name="data_nascimento">
- <input type="submit" name="enviar" value="Enviar">
- </form>
- <?php
- $data_nascimento = $_POST['data_nascimento'];
- printf("Data de Nascimento: %s", $data_nascimento);
- ?>
Add Comment
Please, Sign In to add comment