How to pull out data from session in PHP?

genueeliple

New Member
I have the following data from print_r ($_SESSION);\[code\]Array ([totalprice] => 954[cart] => Array ( [115] => Array ( [name] => M?NESKINN [price] => 268.00 [count] => 1 ) [80] => Array ( [name] => DELFINLEK [price] => 268.00 [count] => 1 ) [68] => Array ( [name] => OPPDAGELSEN [price] => 418.00 [count] => 1 ) )[shipping] => 65 ) \[/code\]Now I want to pullout all the price 268.00 and 418.00 from this session.How can I do it?I tried $_SESSION['cart']['price']; But it does not work.Any help will be appreciate it.Thanks in advance.
 
Back
Top