This is like PHP 101... do you need validation, do you need to write to a database? do you need to write to a logfile that can be imported into Excel? do you need to just send emails?
http://myphpform.com/php-form-tu…