Re: [PHP] array in sessions

2001-12-17 Thread Nick Winfield
On Tue, 18 Dec 2001, Gregor Jaksa wrote: > Hello, > > is it possible to register array in session .. something like that: > session_register("ex_array[field1]"); > session_register("ex_array[field2]"); > > this example of course doesnt work :), so if anyone knows a solution, plz > tell Why not j

[PHP] array in sessions

2001-12-17 Thread Gregor Jaksa
Hello, is it possible to register array in session .. something like that: session_register("ex_array[field1]"); session_register("ex_array[field2]"); this example of course doesnt work :), so if anyone knows a solution, plz tell thx -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] array in sessions

2001-03-27 Thread Yasuo Ohgaki
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How do I store (and update) an array within a session... > > Like I'd have > > session_start(); > $time["page1"]="20"; > > //here, should I do this? > session_register("time["page1"]"); > > //o

[PHP] array in sessions

2001-03-27 Thread Christian Dechery
How do I store (and update) an array within a session... Like I'd have cuz I'll have more pages... $time["page20"]="300"; is this going to automatically load into the session vars or I have to do something first? . Christian Dechery (lemming) . http://www