Hello,
In an attempt to override the political anger in this mailing list I will
tell you that I have already searched through documentations on how to solve
the problem I'm having, to the extent of my skills in searching.
Ok, now to the problem. I have an array submitted by a form, such as
: [PHP] Sessions and Arrays
Hello,
In an attempt to override the political anger in this mailing list I will
tell you that I have already searched through documentations on how to
solve
the problem I'm having, to the extent of my skills in searching.
Ok, now to the problem. I have an array
: Tuesday, November 05, 2002 4:03 PM
To: @ Darwin; Php-General
Subject: Re: [PHP] Sessions and Arrays
Did you try it? Did it work?
How about
$_SESSION['item']['price'] = $item['price'];
$_SESSION['item']['name'] = $item['name'];
---John Holmes...
- Original Message -
From: @ Darwin
Hello Everyone,
How do I send a single array, with many values, through sessions?
For example, I might have the following:
?php
session_start();
session_register(product);
$product['category'] = appetizer;
$product['name'] = Miso Soup;
$product['desc'] = Some Description;
$product['price'] =
On Monday 20 May 2002 04:31, Navid Y. wrote:
Hello Everyone,
How do I send a single array, with many values, through sessions?
For example, I might have the following:
[snip]
Why? don't you just try it? Surely it's quicker to write some simple test code
than to ask on the list?
By
-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 values, through sessions
6 matches
Mail list logo