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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.