Re: form with two actions
| From: | Justin French | Date: | Wed, 13 Nov 2002 12:16:42 +0000 |
| Subject: | Re: form with two actions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124194@lists.php.net to get a copy of this message | ||
For that example, you don't need two submits... the same script that handles
the submitted data for the database can send the email...
usually it's only a problem if one form has to be submitted to two servers,
or something...
do you need an example?
Justin
on 13/11/02 3:05 PM, Scott (gildedpage@comcast.net) wrote:
> Hello
> I would like to know if it is possible to use Php to make a form perform 2
> actions by having the user click on a single submit button. For instance,
> send data to a database and email it simultaneously. I would prefer not to
> use javascript. If someone could point me to an example I would appreciate it
>
> Thanks,
> S.W.
Justin French
--------------------
Creative Director
http://Indent.com.au
Web Developent &
Graphic Design
--------------------