Re: form submission --- help
| From: | CJD | Date: | Sun, 16 Sep 2001 21:04:05 +0000 |
| Subject: | Re: form submission --- help | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9371@lists.php.net to get a copy of this message | ||
In the page which receives the post, simply do:
insert into TABLE (x,y,z) values ($x,$y,$z);
mail("me@mymail","subject","$x\n$y\n$z);
<legal@HEROCYCLES.COM> wrote in message
news:OF8F2A938C.D46863F6-ON65256AC8.002FEFF3@domain...
> Dear List members,
>
> Pl. consider my case:
>
> I have a form which on submit puts the data into table.
> I want the contents of the same may also be emailed to me when that is
> being submitted in table in database.
> That is I want to do 2 things while a button on form is submitted:
> 1. The data filled in form is emailed to me and
> 2. also the same is inserted into table.
>
> Pl. advise how I can do it. I am new in this field.
>
> Thanks in advance.
>
> AK
>