array加入新阵列如何宣告?
$data=Array ('id' => 123,'name' => name);
Copy after login
用array_push会出错,请问要怎么宣告?
------解决思路----------------------$a = Array ('id' => 123,'name' => 'name');<br />$a['type'] = 1;
Copy after login
------解决思路----------------------$data['type'] = 1;