Morning from foggy and dark York UK
I am a total beginner with php so forgive any clumsy language. Ok ive uploaded an image of my problem and the php but basically i just cant the text box info to pull through onto the recipients email if that makes sense.
Here is the form:
http://www.conserve.uk.com/contact-us-test-form.php
Here is the php:
[php]<?php
$headers = “From: " . $_POST[‘name’] . " <” . $_POST[‘email’] . “>”;
$headers .= “\nMIME-Version: 1.0\n”; // optional
$headers .= “Content-type: text/html; charset=iso-8859-1\n”; // optional but nice if you want to use html in the message
$subject = ‘Conserve sales enquiry’;
$message = 'name is: '.$_POST[‘name’].'
telephone is: '.$_POST[‘tel’].'
message is: '. $_POST[‘textbox’];
$recipient = ‘[email protected]’;
mail( $recipient, $subject, $message, $headers);
?>[/php]
I have a suspicion that the php needs fixing to get the text box data to pull through.
Any insights welcome