How can I create a nested html list with the array given below in PHP?

后端 未结 0 1266
萌比男神i
萌比男神i 2020-12-31 19:56

How can I create a nested html list with the array given below in PHP?

Current array:

$objects = [
    { cat: \'root|leaf|lead2|boo\'},
    { cat: \'ro         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题