PHP Newbie


I am new to all server side stuff and I am using flash to create a simple email form for a Q and A section of my site. I used the php tutorial but it is not working and I am trying to figure out what I did wrong. It is a simple flash form with 5 named fields adhering to the example from this site. Here is the script that I used in the php. Can anybody help:


$sendTo = "[email protected]";
$subject = “ask rudi question”;

$headers = “From: " . $_POST[“Name”] .” “. $_POST[“lastname”] . “<” . $_POST[“email”] .”>

$headers .= “Reply-To: [email protected]” . $_POST[“email”] . "

$message = $_POST[“message”];
$city = $_POST[“city”];
$state = $_POST[“state”];

mail($sendTo, $subject, $message, $headers, $city, $state);

?> :red: