Forum Moderators: coopster

Message Too Old, No Replies

sending mail and printing the recipients name on the same form

mail, printing on the same form

         

freshfromseo

7:32 am on Feb 15, 2008 (gmt 0)

10+ Year Member



hi everyone,

can you teach me on how to make a program in ajax and php where after the user clicked the submit button it sends the information to the database and sends email to the respective recipients and it will print the recipients name on the same form without reloading it.

i know php but i am new to ajax...please help me. i want to combine both language to generate the same output..tnx

PHP_Chimp

9:42 pm on Feb 15, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you know php then you hopefully will know how to decipher the mail [uk2.php.net] manual page, to get your mail sent.
For help with the Ajax I would ask the JavaScript forum, as that isn't really php.
As setting up an Ajax script from scratch is a fair size project, as you need to account for pre-IE 7 and Mozilla browsers, or use a library like sarissa or one of the others that is out there.