我有一個這樣的數組(如下所示),我想在下面給出的圖像表格行中單獨顯示相關信息。在CodeIgniter中單獨顯示多維數組到表格行中
Array
(
[recent_task_of_developers] => Array
(
[0] => Array
(
[id] => 1
[name] => Kazi nayem
[project_name] => Array
(
[0] => Array
(
[project_name] => Nayem Book House (BBH)
)
[1] => Array
(
[project_name] => Nayem Book House (BBH)
)
[2] => Array
(
[project_name] => Nayem Book House (BBH)
)
[3] => Array
(
[project_name] => Nayem Book House (BBH)
)
)
)
[2] => Array
(
[id] => 32
[name] => Nayem
[project_name] => Array
(
[0] => Array
(
[project_name] => Nayem - MasForce
)
[1] => Array
(
[project_name] => Nayem - MasForce
)
[2] => Array
(
[project_name] => Nayem
)
[3] => Array
(
[project_name] => Nayem Book House (BBH)
)
[4] => Array
(
[project_name] => Nayem Book House (BBH)
)
[5] => Array
(
[project_name] => Nayem - MasForce
)
[6] => Array
(
[project_name] => Nayem Book House (BBH)
)
[7] => Array
(
[project_name] => Nayem - MasForce
)
[8] => Array
(
[project_name] => Nayem - MasForce
)
[9] => Array
(
[project_name] => Nayem - MasForce
)
[10] => Array
(
[project_name] => - MasForce
)
[11] => Array
(
[project_name] => - MasForce
)
[12] => Array
(
[project_name] => - MasForce
)
[13] => Array
(
[project_name] => - MasForce
)
[14] => Array
(
[project_name] => Nayem - MasForce
)
[15] => Array
(
[project_name] => Nayem Book House (BBH)
)
[16] => Array
(
[project_name] => Nayem Book House (BBH)
)
[17] => Array
(
[project_name] => Nayem Book House (BBH)
)
[18] => Array
(
[project_name] => Nayem Book House (BBH)
)
)
)
我想在表格中像這張圖片一樣顯示這個數組。
不管你做什麼不要在一列中保存多值,如CSV陣列 – Drew
我看您收到的答案,而是讓你知道,我們喜歡讓海報養成展示他們所嘗試過的習慣。這是非常好的做法! – halfer