Email Form for website. Need help writing the PHP - absolute beginner

Hi,

Really hoping someone can help me. I’m an absolute beginner at PHP. I made a form for my website with spry validation. You can see the form here: http://test.150group.co.nz/personal.html

BUT, I can’t get it working, it does nothing on submit. I’m sure my PHP is all wrong. Can someone please please please help me write it so it works correctly. The HTML and existing PHP for my form is here below. I’m sure it’s full of mistakes, I have no idea what I’m doing.

HTML

Mr. Mrs. Ms. Miss. Dr. Please select an item. A value is required.

A value is required. A value is required.Invalid format.

A value is required. .Invalid format.

I don't have any insurance I already have some insurance Please make a selection.

Please give a brief description of the kind of cover you might be interested in. A value is required.Exceeded maximum number of characters.




PHP

You have posted absolutely no php.

I would suggest improve on your HTML skills a little bit more. As for the PHP portion, I think using a 3rd party mailer (such as PHPMailer - Google it) will get on the road in making an email form. If you run into problems with it then just post back and I’m sure someone here will help you out.

Sponsor our Newsletter | Privacy Policy | Terms of Service