function menu() {
$menus = get_menu();
$output = "";
while($menu = mysql_fetch_assoc($menus)) {
$output .= "<li><span></span><a href=\"" . $menu['blurb'] . ".php?menu=" . urlencode($menu['id']) . "\">" .
$menu['title'] . "</a>";
echo submenus($menu['id']);
$output .= "</li>";
}
return $output;
}
function submenus($menu_id) {
$submenus = get_submenu($menu_id);
$output = "<ul class=\"ul_1\">";
while ($submenu = mysql_fetch_assoc($submenus)) {
$output .= "<li><a href=\"" . $submenu['blurb'] . ".php?submenu=" . urlencode($submenu['id']) . "\">" . $submenu['title'] . "</a>";
// next submenus
$output .= "</li>";
}
$output .= "</ul>";
return $output;
}
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.