I have moved webhost and am trying to create a contact form in PHP, i've never programmed in php before, as you can imagine I am struggling a little.
I have created a form and send_contact.php file with the following code, most of this is working however I would like to post two variables from my contact form in the message body. I current have a single line of code:
this works fine but I also want to include the following line:
When I post the second line the first line doesn't show up in the message body. I have the code as the following:
Ideally I would like the message body to be:
Enquiry Details: [Enquiry]
Contact Details: [Contactnumber]
The parts in the brackets need to be pulled from the form.
Could someone help me get this code correct.