oasisp
Posts: 48
|
Posted: 02/08/2012, 10:46 AM |
|
Many-to-Many Relations via CheckBox List NEED CATEGORY TO SHOW
i am working on similar project Many-to-Many Relations via CheckBox List. i would need group by category. so need to show categoryname then checkbox list under. i am using same project table just added new field categoryname for to group by.
http://examples.codecharge.com/ExamplePack/ManyToManyCh...anyCheckbox.php
PROJECT_CATEGORYNAME1
CodeCharge
My Project
PROJECT_CATEGORYNAME2
Test Project
Great Project
Super Project
PROJECT_CATEGORYNAME3
Test Project
Great Project
Super Project
is this possible?
|
|
|
mamboBROWN
Posts: 1713
|
Posted: 02/10/2012, 6:04 AM |
|
oasisp,
This is possible. There are definitely a few ways that you could do this. One way is to use a for loop to read through the selections by category and build the html dynamically. Another way is to list in order by category the selections and have the category in parenthesis right next to it. Another way is to use the Many-to-Many list box (Updating Many-to-Many Relations via Two Listboxes) while including the category next to the selection. Hopefully, this helps
|
|
|
|