How can I have my submit button collect data on database AND do another action too?
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="http://kiosk.alabe.com/cgi-bin/chart/astrobotk.cgi?Y" target="_self" enctype="x-www-form-urlencoded">
And here is the database retrieval script:
<form action="http://www.expressdb.com/edp/?AppKey=5F0772D04FC40464506BB133AB31D35EBA9BDCE6" method="post" enctype="multipart/form-data">
I want them both to work for the same form please.