form not posting to php mail
<p>Ive got a form where users report posts</p>

<pre><code>&lt;form method="post" action="sendmail.php" name="Email form"&gt;
Message ID &lt;input type="text" name="message id" /&gt;&lt;br/&gt;&lt;br/&gt;
Aggressive conduct &lt;input type="radio" name="option1" value="aggressive contact" /&gt;&lt;br/&gt;&lt;br/&gt;
Offensive conduct &lt;input type="radio" name="option2" value="offensive conduct" /&gt;&lt;br/&gt;&lt;br/&gt;
Rasical conduct &lt;input type="radio" name="option3" value="Rasical conduct" /&gt;&lt;br/&gt;&lt;br/&gt;
Intimidating conduct &lt;input type="radio" name="option4" value="intimidating conduct" /&gt;&lt;br/&gt;&lt;br/&gt;
&lt;input type="submit" name="submit" value="Send Mail" /&gt;
&lt;/form&gt;
</code></pre>

<p>And then it fires a php mail function which send the report to me</p>

<pre><code>&lt;?php
$to      = 'root@localhost';
$subject = 'Report';
$message = 'message id\option1\option2\option3\option4';
$headers = 'From: postmaster@localhost' . "\r\n" .
    'Reply-To: postmaster@localhost' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?&gt;
</code></pre>

<p>I want it to take the values inputted by users in the form and mail them to me. As it stands its DOES send a mail but it just say in the mail</p>

<blockquote>
  <p>message id\option1\option2\option3\option4</p>
</blockquote>

<p>Now i understand this is what i put in for '$message' but as this is what i called the input in the form i thought this is what it would take! What am i missing to do this?</p>

<p>The php mail function IS working so this is not the problem. Im sure im just missing some code to get it working. </p>
