PHP / Java newcomer question about two actions from one submit POST

Greetings everyone, I’m new to both these boards and PHP… I had php script built for me and have since been building upon it, trying to learn some new stuff along the way :slight_smile:

I have a form that currently does this…

up top, I have this:

What this does is run the formload.php which basically fills out a form on a second website with the information entered on my form and submits it there… Now I’m trying to have the SAME submit button also initiate a second php file on my server, one that stores the information into datbase via Form Tools.

That code is:

Will these play friendly together? Can you tell me if my submit button will successfully submit to the second script if I place that action with the other in the Header?

Sponsor our Newsletter | Privacy Policy | Terms of Service