A form can only have one action. Therefore, you'll have to write a PHP script that will act as an intermediate between the HTML form and the e-mail and database. When the form submits, the PHP script will get the variables, and will put them in an e-mail and mail it. Then it will take other variables and put them in a database.
Diego