Firstly, sorry about the weird title, couldn't think how to describe this one??
I am trying to make a page that will display a list of sections, with the items that fit in each section below each respective one. E.g.
Section 1
Item in section 1
Another Item in section 1
Another Item in section 1
Section 2
Item in section 2
Another Item in section 2
Another Item in section 2
Section 3 ... and so on.
I guess I need some kind of loop, but not sure where to start.
Should also say that, I have created 2 tables in my database. One contains the actual info and each record contains a number relative to which section it fits into. Then I have another table, which shows which number equals which section.
So table 1 would have something like:
Item 1 -- Section 3
Item 2 -- Section 2
Item 3 -- Section 4
Item 4 -- Section 1
And table 2 would have:
Section 1 -- Help
Section 2 -- Advice
Section 3 -- Suggestions
Section 4 -- Soloutions
Any suggestions?
Any help would be much appreciated.
Thanks - Gareth