I have implemented that code and have “some” success. I am getting output of titles but not what I expected. I think I need to fill you in on some “outer” code.
The array I have given already should get services belonging to a specific area. I am getting a list of theses areas but underneath each area I am getting exactly the same list of services (using your code).
The output this gives me is:
Vertical 1 ---------- Vertical 2
Service1------------Service1
Service2------------Service2
Service3------------Service3
Service4------------Service4
Each vertical should have different services under it.
Sorry… it was a caching issue, I had built in some caching to stop repeated reading of the database but not implemented it correctly so it was always using the data from the first outer loop instead of getting it fresh each time.
SO, complete. Thanks again my friend. You’re a star.
Mike