here is how i declared the session variable
added values to the array and accessed them
session_register("myarray");
$myarray[] = "value1";
$myarray[] = "value2";
$myarray[] = "value3"; //And so on
then to access the values
echo $myarray[0];
echo $myarray[1];
echo $myarray[2];
now that register globals default is off
i declare the variable like so
$_SESSION['myarray'];
then add values like this
$SESSION['myarray[0]'] = "bla";
$SESSION['myarray[1]'] = "bla";
$_SESSION['myarray[2]'] = "bla";
this adds elements but i cant seem to reference the values
like this
$SESSION['myarray[0]'];
$SESSION['myarray[1]'];
$_SESSION['myarray[2]'];
what am i doing wrong , or can anyone suggest a workaround
tia.