Hi I am creating a form in dreamweaver that I want to submit to my email. I followed the tutorial and it worked fine!
But a s soon as I apply it to my css it doesn’t want to work.
This is the form: http://www.kiekiebox.com/contact/
and my php looks like this:
[SIZE=1]<?php
if(isset($_POST[‘submit’])) {
$to = "info@kiekiebox.com";
$subject = “Message from kiekiebox”;
$name_field = $_POST[‘name’];
$email_field = $_POST[‘email’];
$contact_field = $_POST[‘contact’];
$organisation_field = $_POST[‘organisation’];
$address_field = $_POST[‘address’];
$web_field = $_POST[‘web’];
$message = $_POST[‘message’];
$dropdown = $_POST[‘reference’];
$body = “From: $name_field
E-Mail: $email_field
Phone no: $contact_field
Organisation: $organisation_field
Address: $address_field
Web Address: $web_field
Drop-Down: $reference
Message:
$message”;
echo “Data has been submitted to $to!”;
mail($to, $subject, $body);
} else {
echo “blarg!”;
}
?>[/SIZE]
Please could anybody advise?