Hi Melanie
I think you need to go back and revisit some of the form tutorials. When processing the form you can
a) insert into a database
b) write to a text file
c) send an email
all before, during or after sending content out to the browser. What you want to do is totally reasonable.