Email and PHP problems

I have looked at a number of tutorials for emials using
form.loadVariables(“email.php”, “POST”); on the submit button.
Even kirups has a simple tutorial. The problem is all the tutorials have different PHP scripts and only a few of the input fields work.
I am trying to send (name,email,message,phone,address,city…) several fields.

What is a simple way of writing PHP script that works and is easy to understand so I can tailor it to any input form?