Below is the action tag script for the form I am using. After the user clicks the submit button, the action tag makes the user go to a specific page and which page they arrive at depends on the values they enter on the form. But I wanted to make the input information go to a database too so I can see what values they entered into the form. I tried putting in the action tag for both the database retrieval and the action tag that is in the script below, but it doesn't work. When I do it it's like I can only do one or the other. how can I do both?

<form method="POST" action="" target="_self" enctype="x-www-form-urlencoded">

And here is the database retrieval script:

<form action="" method="post" enctype="multipart/form-data">

I want them both to work for the same form please.