Posted by Colin McKinnon on 01/18/07 21:10
Antoine Merieux wrote:
> Hi,
> I'm trying to use associative array in another associative array
>
<snip>
>
> $_SESSION['caddy'] = $tab;
In PHP4, arrays behave as if they only hold scalars in some regards (similar
to Perl) possibly in PHP5 too.
Try serializing the data before putting it in a session variable.
HTH
C.
[Back to original message]
|