看板 PHP 關於我們 聯絡資訊
請問我有一個多維陣列 我要把這陣列存到一個PHP檔中 該如何把這陣列存到類似這樣的陣列裡又不刪除原本有的陣列 接續寫下去? php檔裡面的內容 $arr=array( array( 'QQ'=>'01013586', 'VV'=>'CTV', 'AA'=>'22', 'color'=>array( 'IN', ), 'GH'=>array( 'F', ), ), 想把新內容寫在這邊 ); ?> 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.217.4.94 ※ 文章網址: https://www.ptt.cc/bbs/PHP/M.1431330547.A.52B.html
JustGame: array_push 05/11 15:51
ppon05019456: 我是想把使用者表單送進來的資料整理後變成陣列 05/11 16:11
ppon05019456: 再把那陣列存進B.php檔裡面 而B.ph檔裡有別的陣列 05/11 16:12
ppon05019456: 想要接續寫下去 05/11 16:12
※ 編輯: ppon05019456 (180.217.4.94), 05/11/2015 16:14:48 ※ 編輯: ppon05019456 (180.217.4.94), 05/11/2015 16:15:50
hareion08: serialize 05/11 16:18
tkdmaf: 總覺得你該不是想要做資料庫才應該做的事吧。 05/11 16:23
ppon05019456: 對...小型資料庫 05/11 16:28
tkdmaf: SQLite 05/11 17:15
ppon05019456: 如果單純用PHP有可能會成嗎? 05/11 22:41
shadowjohn: array_push array_merge ~ 05/12 17:37
shadowjohn: unset array_values 05/12 17:37
shadowjohn: 大概這幾個就可以包很多事了 05/12 17:37
alog: 變成json存起來 下一個再解開就好 05/17 03:48