session array
| From: | Ross | Date: | Mon, 07 Aug 2006 15:03:33 +0000 |
| Subject: | session array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-240259@lists.php.net to get a copy of this message | ||
I am creating an array of sessions
$_SESSION['results'][]
There may be up to 7 and I need to know why do I always get the
notice'Undefined index: results in...'?
How do I define or initialise the array if it only gets set once the form
has been posted (an answer has been given) on the page.
Is there a way to count/output (FOR EACH?) a set of session arrays like
this?
Ta,
Ross