我在每個子數組的開始處有一個數組數組,它是列的標題,後面跟着我想填充列的整數。它看起來像這樣:在php中將數組數組導出到Excell。
Array ([0] => Array ([0] => How was the Food? [1] => 3 [2] => 4) [1] => Array ([0] => How was the first party of the semester? [1] => 2 [2] => 4 [3] => 0))
有沒有辦法分解數組並將其導出到Excel?
任何你不想導出爲CSV等非專有格式的原因? – maiorano84
我也可以做。 Excel將只是您希望從網絡上獲得的首選 – user1371513
,或者您希望代碼在服務器中生成excel? – Broncha