Tengo un formulario con un get dentro del mismo que despliega una información.
Mi duda es: ¿cómo puedo introducir la info qur trae get dentro de un input para que cuando le de click a submit me llegue junto con los otros datos?
Aqui el formulario:
Código:
<html>
<head>
</head>
<body>
<form method="get" action="http://localhost/sendto.php">
<div id="inputArea">
<label for="txtName">
Nombre
</label>
<input id="Text16" type="text" name="meinName" />
<label for="txtEmail">
Email</label>
<input id="Text17" type="text" name="meinEmail" />
<h3> Ingresaste lo siguiente:</h3>
<?php
foreach ($_GET["checky"] as $checky2 => $value) {
echo $value . '<br>';
'<input name=".$checki[]" type="text" id="activary" value="'. $_GET["checky"] .'"/>' ;
}
?>
<br>
</br>
<INPUT TYPE="SUBMIT">
<INPUT TYPE="RESET">
</div>
</FORM>
</body>
</html>
Y el otro:
Código:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<h1>LEER. IMPORTANTE</h1>
<?php
$miNombre = $_GET["meinName"];
$miEmail = $_GET["meinEmail"];
foreach ($_GET["checki"] as $checky2 => $value3) {
echo $value3 . '<br>';
}
echo 'Gracias por contactarnos' . $miNombre . '<br>';
echo 'Muy pronto recibiras una respuesta a' . $miEmail . '<br>';
echo 'cotizando los siguientes productos' . $value3 . '<br>';
?>
</body>
</html>
¿alguna aportacion?