这是我的variables
<?php
$submenu = array( array("submenu1", "submenu2", "submenu3", "submenu4"),
array("submenuA", "submenuB", "submenuC", "submenuD"),
array("submenuI", "submenuII", "submenuIII", "submenuIV")
);
$mainmenu="Main1, Main2, Main3";
?>
期望的output
应该是:
Main1
submenu1
submenu2
submenu3
submenu4
Main2
submenuA
submenuB
submenuC
submenuD
Main3
submenuI
submenuII
submenuIII
submenuIV
谢谢!