我有一个数组结构,如下所示:
$families = array
(
"Griffin"=>array
(
"Father" => "Peter",
"Mother" => "Lois",
"Child" => "Megan"
),
"Brown"=>array
(
"Father" => "Cleveland",
"Mother" => "Loretta",
"Child" => "Junior"
)
);
我的问题是:
如何以“Homer”、“Marge”和“Bart”为数据将另一个名为“Simpsons”的数组添加到该结构中?
多谢你们....