首页 >后端开发 >php教程 >层叠菜单的动态生成_PHP教程

层叠菜单的动态生成_PHP教程

WBOY
WBOY原创
2016-07-21 16:06:35781浏览



  if (isset($hierarchy)){
      //$hierarchy[] = $selection;
      if (isset($hierarchy)){
        while(list($level, $sel) = each($hierarchy)){
          echo "";
          echo $level, ': ', $sel, "
n";
          $nextlevel = (int) $level + 1;
        }
    }
  }
  else{
      $nextlevel = 0;
  }
  echo "n";
?>


 

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/315355.htmlTechArticleHTMLBODY BGCOLOR=FFFFFF FORM ACTION=?php echo $PATH_INFO? METHOD=POST ?php if (isset($hierarchy)){ //$hierarchy[] = $selection; if (isset($hierarchy)){ while(list($level, $sel) = ea...
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn