foreach ($array as $key => $val)
在上面的示例中,如果我有一个打印的数组:
Array
(
[0] => Array
(
[manufacturers_id] => 29
[manufacturers_name] => Quiksilver
[products_price] => 15.6000
[products_quantity] => 1
[products_cost] => 8.0000
)
[1] => Array
(
[manufacturers_id] => 29
[manufacturers_name] => Quiksilver
[products_price] => 4.6722
[products_quantity] => 1
[products_cost] => 2.4000
)
插入foreach();
格式中每个值的正确值是什么。假设array
刚刚调用array