primera pagina:
<html>
<body>
<form action='respuesta.php' method='post' name='forma'>
<?php
$clave='02';
$inv=13966;
$arreglo = array(
'nb' => array(
'c2' =>$clave,
'c1' =>$inv
)
);
$arreglo=urlencode(serialize($arreglo));
print("<INPUT TYPE=hidden NAME='ser' VALUE=$arreglo>");
print(" <a href='respuesta.php?ser=$arreglo'> Manda Arreglo </a><br>\n");
?>
<input name='submit' type="submit" value='Enviar' >
</body>
</html>
siguiente pagina respuesta.php
<html>
<body>
<?php
$arreglo2 = unserialize(stripslashes($ser));
$inv=$arreglo2[nb][c1];
$clave=$arreglo2[nb][c2];
echo "Este es la variable inv: $inv , y esta la clave $clave \n";
?>
</body>
</html>
Si alguien sabe que me hace falta por favor. de antemano gracias.
:(
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
By: Veronica - [email protected]