PHP passing data from html form

Soldato
Joined
18 Oct 2002
Posts
9,213
Im coding a simple questionnaire, I want the data to be passed from the form to my email address. Easiest way seems to be with PHP following a tutorial such as this: http://www.thesitewizard.com/archive/feedbackphp.shtml

I have 17 questions made up of text boxes, radio buttons and check boxes. I can get the questionnaire to work as it should do when there is 1 or 2 fields, however when any great deal or added I get the following error:

Warning: mail() expects at most 5 parameters,

Is the above tutorial not the best way of doing what im trying to achieve?
 
Im confused as to why I should do this. My questionnaire does not contain an email address field, its just made up of tick boxes, radio buttons and a couple of text fields. I do not collect any information on the individual, just their opinions on various subjects etc. Unless I have totally missed the point (feel free to correct me) why is the validation relavent?
 
Back
Top Bottom