e
Here ‘s your form (below)… the part around red is what exactly sends it to a PHP script with regard to emailing it.
Also add additional red parts…
I’m less than sure what can happen with the href tag inside submit part.
< type id=" form1" >
< label>
< input type=" text" name=" name" value=" Brand: " >
< /label>
< label>
< input type=" tel" name=" phone" value=" Cellular phone: " >
< /label>
< label>
< input type=" email" name=" email" value=" Contact: " >
< /label>
< labeled class=" text" name=" mess" >
< textarea> Meaning: < /textarea>
< /label>
< course class=" btns" > < a href=" #" rel=" reset" > Clear< /a> < a href=" #" rel=" submit" > Send< /a> < /span>
< /form>
===================
Then you will need the PHP script in order to process it.
Below is really a bare-dones script without the need of validation, no captcha, outright a basic contact send.
Call this town " sendit. php" and upload inside same directory because your form.
< php
$recipient = "DaniellaKramerhotmail. com";
$subject = "Daniella Kramer - Website Contact";
// where to go after it gets sent ...
$redirect = "index. html";
$name = $_POST'name';
$phone = $_POST'phone';
$email = $_POST'email';
$mess = $_POST'mess';
$message = "
Daniella Kramer Website Contact
---------------------------------------------------
Name: $name
Phone: $phone
Email: $email
---------------------------------------------------
Message Typed in:
$mess
---------------------------------------------------
";
$extraheaders = "From: $email\r\nReply-To: $email\r\n";
if (! mail($recipient, $subject, $message, $extraheaders))
echo "Mail did not send for some motive. ";
header("Location: ". $redirect);
>
.
oops… the bad….
Adjust this part:
< labeled class=" text" name=" mess" >
< textarea> Meaning: < /textarea>
to this:
< labeled class=" text" >
< textarea name=" mess" > Meaning: < /textarea>
.
worked like a charm, thank you!