I'm really confused on how to store arrays in a $_SESSION.
Right now to access an array I basically do this:
$lc = $_SESSION["cart"];
$lc[$item] = 1;
(plus some other manipulative code)
$_SESSION["cart"] = $lc;
Is there a better way to do this? I can't seem to figure out a proper
way to include the array index inside the same line as $_SESSION (such
as $_SESSION["cart($item)"].
--
- Michael J. Astrauskas