Display content on subcategories

Discussion in 'PHP' started by zerokvl, May 23, 2011.

  1. #1
    Hi. I have a big problem with displaying some content to every subcategory. To explain to you better:
    - i have the website dressupcandy.com and there i have the category dress up and below there are some subcategories like animal, couples ...
    - now i want to display in each category ALL THE SUBCATEGORIES with five games each. An example can be viewed here http://www.agame.com/games/racing.html

    I don`t know how to display this tree type, i only know how to extract the games, for each subcategory and i need this very much. If there is someone who can help me, please tell me.
    Thank you very much, and sorry for my bag language.

    Edit: I forgot to mention that, my table is like this : gameid | category | subcategory for the table games.
    I also have the table categories with id|title and subcategories with subcat_title | catID
     
    zerokvl, May 23, 2011 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    it seems that this is like a css problem
     
    bartolay13, May 24, 2011 IP