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);
<[EMAIL PROTECTED]> wrote in message
OF8F2A938C.D46863F6-ON65256AC8.002FEFF3@domain">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
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]