I have a problem with using an array as a session variable.
i have register globals OFF now that its the default
with register globals on i did this
session_register("myvar");
to add values to this i wrote
$myvar[] = "$bla";
but now i declare session variables like so.
$_SESSION['myvar'];
i can assign one value to it $_SESSION['myvar'] = "26";
but not make it an array
e.g $_SESSION['myvar[]'] = "26";
I cant think of a way around it , am i being stupid?? maybe
so basically how would i make this an array add values to it and then display them??
any help would be great, tia
Karl