For anyone wishing to add a contact form (or just about any kind of form) to their PHP website, I have released a stable version of an all-purpose PHP contact form as open source: Open source Generic PHP Contact Form This code will allow you to add as many form input elements as you wish to the HTML, and you don't have to edit/change any of the PHP code. The form will automatically handle any and all input forms you create. Supports input, radio button, checkbox, regular and required field inputs. The form then emails a recipient you specify, and it also sends an email to the person completing the form to let them know it was submitted successfully.