|
Posted by Rik on 07/16/07 18:48
On Fri, 13 Jul 2007 12:24:24 +0200, Arjen <dont@mail.me> wrote:
> Sebastiaan 'CrashandDie' Lauwers wrote:
>
>> Peter wrote:
>>> Hi,
>> Hi,
>>
>>> $my_array[$row]["name_associative"]
>>> How would I convert my array to a session array?
>> this any help ?
>> foreach ($my_array as $key =3D> $value)
>> $_SESSION['XML'][$key] =3D $value;
>>
>
> Yup or serialize it first
Totally unnecessary. In the default session handler the data is already =
=
serialised on a save, why do it twice?
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|