【发布时间】:2013-07-28 12:22:38
【问题描述】:
$test = array (
"test1" => array("a" => "1", "b" => "2", "c" => "3")
);
我有一个像上面这样的数组。 我想在循环中推送它的值。怎么可能?你能告诉我吗?
【问题讨论】:
-
把他们推到哪里?你想要的最终结果是什么?
-
喜欢
$test['test1'][$newKey] = $newValue;?