Re: Multi-Task on PHP by submitting a form!

From: Date: Mon, 20 Aug 2001 13:21:45 +0000
Subject: Re: Multi-Task on PHP by submitting a form!
References: 1  Groups: php.db php.general 
Request: Send a blank email to php-db+get-11551@lists.php.net to get a copy of this message
you're there already. have an if statement on mail.php: if (isset($posted_info)) { // send mail here // do db insert here } // end of if Steve "Jack" <jack@nedcor.com> wrote in message news:20010820131552.9635.qmail@pb1.pair.com... > Dear all > I was trying to get a user input form to insert to a mysql_database and > e-mail to me! > Is it possible to make php perform two task in one single submit button? > > The form will post the input --> mail.php. > > In the mail.php, i was thinking to add another process just after the mail > process had finish, which will insert the data from the from to > mysql_database. > > Thx > Jack > jack@nedcor.com > >

« previous php.db (#11551) next »