I am working on a new photo gallery that uses categories.
Each category is stored in a category xml element. then the images
are stored in the category element. I am having trouble figuring
out how to create this on the fly. With only one category it works
fine but I am having diffuculty seperating it into groups. The db
schema is like this imagePath, imageTitle, imageDesc, category. I
will post the code i am currently using to create the xml now and
show where i need the categories to loop. Thanks in advance. I am
posting a second approach with the code where the query is put in a
array and then I statacially add in what to look for in the array.
This approach would be fine if i could make it dynamic and grab the
Exteriors and Interiors from the catList variable. Thanks again for
any insight on solving this problem.