I am trying to submit data in a form to two different php files but i try adding in a second address in the action= field it doesn't work.

here is what I have:

<form name="frm_63681eef6d" id="frm_63681eef6d" method="POST" enctype="multipart/form-data" action="pay2.php" onSubmit="return false;">

I need the data from one of the input fields in this form to be echoed onto another page and still be submitted to the database using another php file so i need to be able to post the data to 2 places at once.

Any ideas?