层叠菜单的动态生成

澳门新葡亰平台游戏网站 ,HTMLBODY BGCOLOR=FFFFFF FORM ACTION=?php echo $PATH_INFO? METHOD=POST
?php if (isset($hierarchy)){ //$hierarchy[] = $selection; if
(isset($hierarchy)){ while(list($level, $sel) = each($hierarchy)){ echo
INPUT TYPE=HIDDEN NAME=hierarchy[$level] VALUE=$sel; echo $level, ‘:
‘, $sel, BRn; $nextlevel = (int) $level + 1; } } } else{ $nextlevel = 0;
} echo SELECT NAME=hierarchy[, $nextlevel, ]n; for ($I = 1; $I = 10;
$I++){ echo OPTION VALUE=$I$I/OPTIONn; } echo /SELECTn; ? INPUT
TYPE=SUBMIT /FORM /BODY/HTML

You can leave a response, or trackback from your own site.

Leave a Reply

网站地图xml地图