prakash_t Posted May 28, 2010 Posted May 28, 2010 Does any body tell me how to create session in two dimensional array in oscommerce? I can create a normal session with tep_session_register(). I just want to create sessions like below, 1) $_SESSION[$products_id]["Adults"] = $Adults; 2) $_SESSION[$products_id]["Child"] = $Child; 3) $_SESSION[$products_id]["total_price"] = $total_price; Thanks in advance.
Franzie Posted May 30, 2010 Posted May 30, 2010 Does any body tell me how to create session in two dimensional array in oscommerce? I can create a normal session with tep_session_register(). I just want to create sessions like below, 1) $_SESSION[$products_id]["Adults"] = $Adults; 2) $_SESSION[$products_id]["Child"] = $Child; 3) $_SESSION[$products_id]["total_price"] = $total_price; Thanks in advance. $_SESSION[$product_id] = Array("Adults" => $Adults, "Child" => $Child, "total_price" => $total_price ); echo $_SESSION[$product_id]["Adults"]; etc...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.