RE: [PHP-ES] Pasar arrays en un post
| From: | Alejandro F. Kapit | Date: | Sat, 18 Nov 2000 02:21:40 +0000 |
| Subject: | RE: [PHP-ES] Pasar arrays en un post | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-3984@lists.php.net to get a copy of this message | ||
No funciona.
array.php3:
==========
<?php
$ale[0]="a";
$ale[1]="b";
$ale1 = serialize($ale);
?>
<a href="array1.php3?ale=<?php echo $ale1; ?>">continuar</a>
array1.php3:
===========
<?php
$ale = unserialize($ale);
print $ale[0];
print "<br>";
print $ale[1];
?>
--- No me imprime nada y no se porqué.
-----Mensaje original-----
De: jmcastagnetto@zkey.com [mailto:jmcastagnetto@zkey.com]
Enviado el: Viernes, 17 de Noviembre de 2000 11:11 p.m.
Para: lista@phpes.com
CC: php@kafdesign.com
Asunto: RE: [PHP-ES] Pasar arrays en un post
Parafraseando a Lewis Carrol "RTFM, RTFM, RTFM. I said it 3 times,
what I say 3 times is true": lee unserialize/serialize
El manual tiene la info que necesitas: www.php.net/manual, o bajatelo
en: snaps.php.net/manual