Simple AJAX Generator AjaxThis.com
I while ago i coded a AJAX generator. The generator will give you the entire ajax function (even with a #button.click), the datastring, the post/get url string, and the PHP file with the escaped MySQL variables, AND a simple MySQL insert, update or delete option. You can instantly create ajax functions with www.AjaxThis.com. I highly recommend you check it out, I have saved a ton of my time from copying and pasting the same Ajax function.
Sending Emails With Amazon SES