how do i create MySQL lists?

Discussion in 'PHP' started by Vizuke, Aug 25, 2007.

  1. #1
    how would i go about to create some sort of list to insert into a MySQL table?

    let's say i have a form. below is an example with check boxes. rather than having a row for each person with a large amount of columns of item1, 2, 3, and so on holding a boolean in place of each checkbox, how would i go to make a list which can contain the items all into 1 column?

    name item1 item2 item3 item4 item5
    person1 [x] [ ] [x] [x] [ ]
    person2 [x] [ ] [x] [x] [x]
    person3 [x] [x] [x] [ ] [ ]
    and so on...
     
    Vizuke, Aug 25, 2007 IP
  2. webw

    webw Peon

    Messages:
    32
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    webw, Aug 25, 2007 IP