Getting Images

Basically i have 2 drop-down lists one drop list contains “Theme Types” and another Drop-down list contains “Theme Category”

I need to get images dynamically when selecting those drop-downs lists Accordingly.

In Theme Types ----> Basic
Standard
Professional
Advanced

In Theme Categories ----> Sports
News
Business
Music
Restaurants
Hospital
etc., (up to 30 categories)

I stored basic value as 1,Standard value as 2 Professional value as 3 and advanced value as 4 in database.

similarly categories values sports - 1,news - 2,Business - 3,Music - 4, Restaurants - 5, Hospital - 6

Please help me…

Help you… do what? Process the form? Query a database? Where are the filepaths stored? How are they accessed? What relation does “1,1” have to a filepath?