Posted by Connor T on 01/08/06 21:40
Hi,
I have this code:
$itemCode["$basketCount"] = $id ;
Both of the variables on the left are session variables.
So this now has to become:
$_SESSION['itemCode']["$_SESSION['basketCount']"] = $id;
if register_globals are turned off.
however that doesnt compile, so how should it be done properly?
Rgds,
Dan
Navigation:
[Reply to this message]
|