Array ( [S10_2016] => Array ( [productName] => 1996 Moto Guzzi 1100i [productCode] => S10_2016 [MSRP] => 118.94 [quantity] => 1 ) )
print_r($_SESSION['shopping_cart']);
以上是我的打印结果。我在此会话中显示特定的数组值时遇到问题。用户单击结帐按钮后,我想获取值“ productCode,MSRP和数量”存储在数据库中。
catspeake
白衣染霜花