Look at this page. http://www.linksinn.com/submit.php I want all categories and subcategories in one select list just like on this page. Is there any tutorial or code snippet for this? Please share it with me. Thanks
This actually is pretty easy, no wonder no one is replying, your thread makes you look lazy. just kidding It depends how you defined your cats and subcats, the basic principle would be to use nested loops or recursion. For every level there would be another loop nested where you would add something like "| " and "|___" for its subitems to option element like in the above example. That's all, it just requires a bit of cumbersome work and depends on your existing code, there is no universal solution, that's why not many people are gonna code it for you just like that or give you finished code.