Create categories but with sections, how?

Discussion in 'Programming' started by Croga, Aug 11, 2010.

  1. #1
    Basically im trying to do this with php/sql

    [​IMG]
    and
    [​IMG]

    Is there a html form thingy that can do this? Also in sql is it best to do this in 1 table (category and section together) or 2 tables (category and section as separate tables)?

    Thanks for your time!
     
    Croga, Aug 11, 2010 IP
  2. jpratama

    jpratama Member

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    I'm not sure with you questioned. The first picture is definitely accomplish with html. For the SQL think you better put category and section in seperate variable. It will reduce redundancy (database normalization) and easier to maintain for instance if you want add/remove category or section.
     
    jpratama, Aug 14, 2010 IP