1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    The best way to create sub-menus is using <UL> (unordered list)
     

Share This Page