Hi,
I have this code:
$itemCode["$basketCou nt"] = $id ;
Both of the variables on the left are session variables.
So this now has to become:
$_SESSION['itemCode']["$_SESSION['basketCount']"] = $id;
if register_global s are turned off.
however that doesnt compile, so how should it be done properly?
Rgds,
Dan
I have this code:
$itemCode["$basketCou nt"] = $id ;
Both of the variables on the left are session variables.
So this now has to become:
$_SESSION['itemCode']["$_SESSION['basketCount']"] = $id;
if register_global s are turned off.
however that doesnt compile, so how should it be done properly?
Rgds,
Dan