Code: Select all
Array
(
ї4] => Array
(
ї0] => Array
(
їid] => 2
їfile_name] => test2
їfile_title] => kjdhfjh
їfile_type] => xls
їsection] => 4
їsub_section] => 4
їlast_updated] =>
)
ї1] => Array
(
їid] => 1
їfile_name] => testfile
їfile_title] => testing1
їfile_type] => pdf
їsection] => 4
їsub_section] => 4
їlast_updated] =>
)
)
ї5] => Array
(
ї0] => Array
(
їid] => 3
їfile_name] => sdfsdf
їfile_title] => sdfsdf
їfile_type] => doc
їsection] => 4
їsub_section] => 5
їlast_updated] =>
)
)
)So i would get output like
Code: Select all
Section 4
file1
file2
Section 5
file3