As it stands now, that form submits the information to a cgi email script that emails the information to the address specified. In order to store this info in a database you need to create a database scructure to hold all the info. If you want to use PHP (my prefered method) then you need to learn how to create mySQL databases. Its really not that hard to learn the concept.

You will need to make a php program that will accept all the input names into the php form, and take those variables and store it into the said database. Take a look at this thread for furthur information and hints on how to create a database and to call information from it.

cheers,
xmaddness