
25/09/2015, 04:52
|
| | Fecha de Ingreso: septiembre-2015
Mensajes: 8
Antigüedad: 9 años, 4 meses Puntos: 0 | |
Respuesta: Código de inserción en variable php Formulario en index.php
<form action="nuevo.php" method="post" target="_blank">
<br>
Link: <input type="text" name="enlace" required >
<br>
<input type="submit">
</form>
Codigo en nuevo.php
<?php
$enlace = $_POST['enlace'];
echo $enlace;
echo "<form action='confirmado.php' method='post'>
<input type='hidden' name='enlace' value='".$enlace."'>
<br>
<input type='submit' value='Confirmar'> </form>";
?> |