RE: [PHP-ES] Formularios
| From: | Marco Eyzaguirre Alemán | Date: | Tue, 27 Nov 2001 22:56:19 +0000 |
| Subject: | RE: [PHP-ES] Formularios | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-16100@lists.php.net to get a copy of this message | ||
haz como te digo, con el codigo funciona:
//pagina que envia pag1.php
<html>
<body>
<form name=formu action=pag2.php method=post>
<?
//cargas las var con los datos que quieras pasar:
$variable1 = "valor1";
$variable2 = 5000;
$variable3 = 5000;
<input type=hidden name=variable1 value="valor_variable1">
<input type=hidden name=variable2 value="valor_variable2">
<input type=hidden name=variable3 value="valor_variable3">
?>
</form>
</body></html>
//pagina que recibe
<?
echo $variable1." - ".$varible2." - ".$variable3
?>