Jump to content

posting form data to two php scripts at once


prp9

Recommended Posts

How do i post the form data to different php files at once. I tried the
following code (two actions) but it doesn't work. the data is sent only to the first
php file.

<form method="post" action="first.php" action="second.php">
Email<input type="text" name="email" value ="" size="20" />
<input type="submit" value="submit" />
</form>

Is there a solution?

if not,
I also have slightest idea of this, but i dont know how to finish this. i opened first.php and added following at the end:
require_once second.php;
$pass_on_again = ******* ($email);

what do i replace the ******* with?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.