How to get a selected value from a dropdown to create an database entry

So i created a list of types in the database to be able to have a dropdown with my options.
And now i’m trying to get this dropdown selected option to create a new entry in an other database.
What should i use? Can you help me please?