How to create sub menu from main menu?

Discussion in 'PHP' started by hoangthienphuc, Jul 25, 2007.

  1. hoangthienphuc

    hoangthienphuc New Member

    Joined:
    Mar 15, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    I have a task to create sub menu( it may also be change ) from some main menu in my page. I dont know how to design the table for it, i have tried to created a table named 'categories' and have a field 'isSub' (to know it's a sub menu) from many menu in it. and from sub menus it will link another page in my web system (detail content). I have searched by google and found the link : http://www.milonic.com/ have menu - sub look like my ideas. Can someone help me ? Thanks for any response.
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    The best way to create sub-menus is using <UL> (unordered list)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice