All questions are good questions. Except when they are bad questions, like “Does anyone know where I can buy Dallas Cowboys merchandise?”
Okay. You need to use a form to collect the information. When the user hits the “submit” button, that information is then sent to a page specified within the action attribute of the form. The form can be sent to itself, or sent to a completely different page (which is usually more useful).
The receiving page will then have access to this information, which you must process in some way. There are many different things you can do with it, including (but not limited to) storing the information in a database or sending it to yourself in an email. What exactly do you want to do with this information once it has been collected?
Keystone Websites (business site) | si-blog (personal site with affiliate links)