Hello Everyone,
I'm having trouble sending array values through forms.
Will the following syntax create a variable called $product['desc'] on
the next page?
If not, what am I doing wrong here?
Note: I tried this but it didn't work! When I tried doing it without
using an array, but rather with a
iate it.
Navid
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 19, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Sessions and Arrays
On Monday 20 May 2002 04:31, Navid Y. wrote:
> Hello Everyone,
>
> How do I send a single array, with many
Hello Everyone,
How do I send a single array, with many values, through sessions?
For example, I might have the following:
By registering just the "product" array, will I have all of the values
of that array available to me throughout the entire session? Or will I
have to register each array v
Hello everyone,
Simple question: Will registering a variable twice, using
session_register(), reset the value of the variable to a different
value?
I just now started using the session_is_registered() function on all
sessions to see if they have been registered already, before I register
them ye
rray);
Then you can use the array on any page the user
goes to by doing this:
$myarray = unserialize($_SESSION['myarray']);
-Original Message-
From: Navid Y. [mailto:[EMAIL PROTECTED]]
Sent: May 18, 2002 2:52 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] passing ARRAYs throu
about that.
Rick
"We do not have to visit a mad house to find disordered minds; our
planet is the mental institution of the universe." - Unknown
> From: "Navid Y." <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTECTED]>
> Date: Sat, 18 May 2002 13:51:38 -
m: SP [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 18, 2002 1:31 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] passing ARRAYs through GET strings
Hi Navid
Don't you have to serialize it to put it in
sessions?
-Original Message-----
From: Navid Y. [mailto:[EMAIL PROTECTED]]
Hello :)
Can anyone suggest of another way, an easier way, to send arrays through
get strings, or through any other process, without having to serializing
it? For example, would it be better to use sessions in this case? Any
help would be greatful, thanks. :)
Navid
--
PHP General Mailing L
8 matches
Mail list logo