Page 1 of 1

MULPILE FORM PRECESSING !!!!!!!!!!!! help !!!!!!!!

Posted: Tue Sep 02, 2003 12:38 am
by maceved23
HI :D

I'm having a problem, I need to process a form and pass the values two 2 diferent pages.

This is the form process I use. IT WORKS PERFECT

<form name="HELP" method="post" action="verif.php" enctype="multipart/form-data">

IT'S POSSIBLWE TO DO THIS????

<form name="hoja" method="post" action="verif.php&email.php" enctype="multipart/form-data">


HELP ME OR SUGGEST ME SOMETHING.
Th exact problem is in the form I pass my values to a fiele verif.php where I make the INSERT in my DB. But I need top send a confirmation mail at same time.

Posted: Tue Sep 02, 2003 4:08 am
by twigletmac
Can't you just include() the code for the INSERT and the code for the mail sending into one page? That way you don't need to send the information to two separate pages.

Mac

Posted: Tue Sep 02, 2003 4:09 am
by twigletmac
Moved this topic to PHP - Normal as it was not a database question.

Mac

Posted: Tue Sep 02, 2003 5:55 am
by JAM
As twigletmac states, you could

Code: Select all

form
 sends to verify.php
  ...do stuff...
   include(mail.php)
    mail_function($the_email_addy)
     send mail using $the_email_addy

THANKS A LOT !!!!!!!!

Posted: Wed Sep 03, 2003 3:35 am
by maceved23
I include the code in the same page.

It works perfect.

Mario. :D