¡@

Home 

php Programming Glossary: menulistoutput

Convert array of paths into UL list

http://stackoverflow.com/questions/4903668/convert-array-of-paths-into-ul-list

in a function here function generateMainMenu global db MenuListOutput '' PathsArray array sql SELECT PageUrlName FROM `table` result.. saving to array sort PathsArray These need to be sorted. MenuListOutput . ' ul id nav '. n get things started off right directories.. path had more directories therefore more Unordered Lists. MenuListOutput . str_repeat ul topmark i Close off the Unordered Lists MenuListOutput..