Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/08/2012, 00:35
Avatar de hackcrack
hackcrack
 
Fecha de Ingreso: abril-2011
Mensajes: 331
Antigüedad: 13 años
Puntos: 9
Respuesta: definir variable en php con datos de un campo de texto

Un ejemplo práctico ->

En la pagina del formulario:

Cita:
<form action="recivo.php" method="GET">
<input type="text" name="variable1" />
<input type="text" name="variable2" />
</form>
En la pagina de recivo.php

Cita:
<?php
echo "La variable1 es ."$_GET['variable1'];
echo "La variable2 es ."$_GET['variable2'];
?>
__________________
Los mejores juegos de PC gratis en ******