Re: Send mail to admin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think the easiest thing will be to make a script which executes via cron and will search for empty columns in the db and can email the admin appropriately
 --
Regards,
Abhishek jain




________________________________
From: arvindsri123 <arvindsri123@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Saturday, February 28, 2009 12:43:21 PM
Subject:  Send mail to admin


Hello All,

1. I have 4 pages
2. Every page has 2 form field (text field)
3. So in a table there will be 8 column ( 2 field from each page x
4pages=8 column in a table)

what i am doing is, if a new user visited on first page, he will fill
the  both field and submit, the both field data will 

insert in a table (users). then user will reach on 2nd page here again
he will fill another 2 field and submit, now both 

field update the same table(users) . (now still 4 column is blanck).
after submitting 2nd page now user will reach on 

3rd page, here again 2 form field existing on page, and user will
again fill the 2 fields and submit, now again i 

update the table with new 2 coulmn, (now still 2 coulmn blank in a
same table), after submitting 3rd page user will 

reach on 4th page, here user will get another 2 form field, he will
again fill the both field and submit, now again i 

update the table with these 2 fields, (now all the field is filled,
means all 8 column in a table). and here i send a mail 

to ADMIN that a new user registered.

what i want if user stop filling the form after first page or close
the window or anything, just not continuing the filing 

the form fields on any page, i want a send a mail to admin that there
is a new user but his information is 

incomplete.

I need help for this...

1. I can store all the info in session till last page, but inbetween
if session expire no data will exist in table, which i 

don't want, i want data must be exist after filling the first page, so
atleast if user stop filling the form, atleast 2 

form fields data must be exist and send a mail to admin that form is
incomplete.. i need it for till last page.

waiting for a quick response.

Thanks,
Arvind





      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux