Create nested list from PHP array for dropdown select field

前端 未结 3 1267
無奈伤痛
無奈伤痛 2020-12-14 05:06

I am struggling with an array I want to turn into a nested < select >

I need:

\n");
printTree($tree);
print("");

Output;


And in your case;


提交回复
热议问题