Different database depending on option selection in a form.

What do I need to do?