I am a absolute PHP n00b, so i could use some help with a small snippet.
I have a simple form with a couple of radio and input fields. Once they are all filled and the user submits the form, i want to, via jQuery AJAX, submit it to a PHP file, which loops thorugh all the form elements in the request, adds them to a string, and sends that string as an email (with a predefined subject) to a predefined email account. How would you go about this simple task in PHP?
You could do something like