Does anybody know how to create the equivalent of a many-to-many relationship?

Ie: On an input form, say I have a dropdown with 5 items in it. I want the user to be able to select one, and then input an integer value that would be associated with the selected item. 


Kind Regards,

Graeme McKibbin
Software Developer