How do I populate an menu with submenu items from a database table?

Hi all:
I need to populate a menu control item (it has to work in all browsers) from 2 database tables.

1) I have a collections(jobs) table that links to a photo table (below)
2) I have a photo table (photo table has a foreign key from collections table)
3) the menu control should look as follows:

    portfolio of work >>
                                    job #1          
                                    job #2
                                    job #3
                                    job #4
4) ex. job #1 will have a menu item with a link to a particular collection and in that collection, there are muliple pictures for a particular collection that some code will loop thru.

5) I could like the link to the page to be created dynamically so if I add another collection(job), I don't have to hand code any new links to new jobs. sum up. I just need the portfolio of work menu item to slide out with a list of jobs(collections) linking to a bunch of photos for that collection(job).

Also, it has to work in all browsers.

I am using VB.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bolenkaAuthor Commented:
hey thanks kgenius...I will take a look and let you know. you guys are great.
bolenkaAuthor Commented:
great examples thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.