Hi, Really need someones help with a script to upload images to a directory and sub-directories. Basically there are several rows in the database; bid, bname, section, btype, breq and image.

I need a script that will send all of the text to sql with the image url. Depending on what section is entered depends on where its stored. Options for 'section' are: Beavers, Cubs, Scouts, Explorers and Network.
The image would have to be stored in a corresponding directory,
bname - climbing
section - Scouts
btype - activity
breq - blah blah blah
image - Badges/Scouts/image.png

Anyone with any ideas, please let me know.
Thanks alot.