Categories with subcategories in Columns ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cks25388
    New Member
    • Aug 2010
    • 1

    Categories with subcategories in Columns ?

    hi i am new to php and wants to display categories with all subcategories under each category and display in 3 or 4 columns.
    In database i have two tables one is for category and other is for sub-category.

    Kindly Do A Favour Please
    Last edited by Atli; Aug 11 '10, 10:20 AM.
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hey.

    First of all, you want to design your HTML. Best to do that with static data at first, just to make sure it will look OK once you populate it with the real data.

    Then you use PHP to fetch the real data from your database and have it replace the static data with the real data.

    Try it. Post what you have here and we will guide you through it.
    Also, we will need to know what type of database you are using, and how your database is structured.
    Last edited by Atli; Aug 11 '10, 10:26 AM. Reason: Added an afterthought.

    Comment

    Working...