Hi can anyone tell me why the data sent fromthe html does not appear in the email received please? I need the value Q1 (radio button response) to be sent in th email!!!!!
HTML----
<input type="hidden" name="board2" value="BB Comp January">
<input type=hidden name="subject" value="BB January Comp">
<input type=hidden name="recipient" value="paul@uknetweb.com">
<tr valign="top">
<td width="280" height="74">
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Q1</b>
In the "Board room" section, which is Beachbeats
sister site called for classic longboards?</font></p>
</td>
<td width="270" height="74"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<input type="radio" name="Q1" value="Cord">
Cord<br>
<input type="radio" name="Q1" value="Cape">
Cape<br>
<input type="radio" name="Q1" value="Core">
Core</font></td>
The PHP page that this sends to...
<?
$subject = ("$subject");
$Q1 = stripslashes ("$Q1");
$from = "From:\"$realname\" <$from>\nX-Mailer: uknetweb_PHP";
$comment = stripslashes($comment);
mail("paul@uknetweb.com",$subject,$comment,$from,$Q1);
if (mail($email,$subject,$comment,$from,$Q1))
{
echo "Email sent correctly. We will be in touch with you shortly";
} else {
echo "Email failed to send. Please check their email address.";
}
?>