Posted by Connor T on 01/08/06 20:26
Hi,
I used to have code like this:
$itemCode["$basketCount"] = $id ;
where itemCode and basketCount were both session variables.
Now it seems i have to use _SESSION if register globals are turned off.
So how should
this code look?
This doesnt compile:
$_SESSION['itemCode']["$_SESSION['basketCount']"]=$id;
:)
Thanks!
Dan
Navigation:
[Reply to this message]
|