我有这样的数组
Array
(
[0] => Array
(
[kode_mk] => KD.32021
[nama_mk] => Matematika Ekonomi
[semester] => 1
[jum_sks] => 3
[nilai] => A
)
[1] => Array
(
[kode_mk] => KD.32022
[nama_mk] => Teori Ekonomi Mikro
[semester] => 2
[jum_sks] => 2
[nilai] =>
)
[2] => Array
(
[kode_mk] => KD.32040
[nama_mk] => Teori Ekonomi Mikro
[semester] => 3
[jum_sks] => 2
[nilai] =>
)
[3] => Array
(
[kode_mk] => KD.32051
[nama_mk] => Dasar Akuntansi I
[semester] => 1
[jum_sks] => 3
[nilai] =>
)
[4] => Array
(
[kode_mk] => KD.32052
[nama_mk] => Dasar Akuntansi Lanjutan
[semester] => 2
[jum_sks] => 3
[nilai] =>
)
[5] => Array
(
[kode_mk] => KD.32060
[nama_mk] => Akuntansi Perbankan
[semester] => 4
[jum_sks] => 3
[nilai] =>
)
)
如何将它们拆分为两个数组并将它们循环到两个 html 表...?