What do you call this?

I have an extensive form that uses ASP to send the form results via email. I would like to insert a few of the fields into a database in addition to the emails. Hints on what I should google, tutorials or examples appreciated.