Ted
|
Posted: 05/13/2004, 6:06 PM |
|
Real simple question. I am sure I am making this harder in my head then it needs to be but lets see.
I want to make a grid that shows info from 2 tables. This is php and mysql so this is what i want. I want to list the catagories and list the questions under each category like such.
CATEGORY 1
Question 1
Question 2
Question 3
CATEGORY 2
Question 1
Question 2
CATEGORY 2
Question 1
Question 2
Question 3
Question 4
Question 5
I have a table called category,
cat_id
cat_name
I have a table called questions
quest_id
cat_id
cat_title
cat_desc
What I want is to list a cat then all the quest in that cat and then do the next cat and all the questions i that cat.
I think ya get the point. Ok can someone show me my mental block here...lol. Thanks to all that take the time to read and offer help. Much needed
|
|
|
TED
|
Posted: 05/13/2004, 6:07 PM |
|
CORRECTION
THE SECOND CATEGORY 2 SOULD SAY CATEGORY 3...TYPO
|
|
|
TED
|
Posted: 05/13/2004, 6:09 PM |
|
and the dumbness keeps comming...
I am using the latest ccs. I think that covers everything...lol..sorry.
|
|
|
peterr
Posts: 5971
|
Posted: 05/13/2004, 6:27 PM |
|
Possibly this would help: http://docs.codecharge.com/studio/html/ProgrammingTechn...mpleGroups.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|