// Display the category name
echo '
' . $cat->cat_name . "
\n\t\n";
// Call get_links() with all the appropriate params
get_links($cat->cat_ID, '- ', "
", "\n", true, 'name', false);
// Close the last category
echo "\n\t
\n\n";
-----------------
Links