我有一個數組如下插入元件,而不在PHP陣列重寫現有元素
Array ([0] => application [1] => modules [2] => Ride [3] => externals [4] => images [5] => uploads [6] => profile [7] => 116 [8] => 13006678321287904362.jpg)
我怎樣才能插入項目現有陣列列於指定的索引覆蓋現有的元件
考慮我想創建如下
Array ([0] => application [1] => modules [2] => Ride [3] => externals [4] => images [5] => uploads [6] => profile [7] => 116 [8] => model [9] => 13006678321287904362.jpg)
任何幫助,請
我認爲你是對的結束,他想的中間插入新項目陣列。 – Sarfraz 2010-10-28 07:39:36