i have a problem
i want to send data with $_POST but it doesn`t work
<td valign="top"><font color="white" face="Verdana,Arial,Helvetica" size="1">Pleasures:</font><br><input type="text" name="pleasure" size="50" maxlength="50" value="" style="font-family: verdana; font-size: 10px; width: 80px;" >
</td>
<td valign="top"><font color="white" face="Verdana,Arial,Helvetica" size="1">Dogs</font><br><input type="password" name="dogs" size="20" maxlength="20" value="" style="font-family: verdana; font-size: 10px; width: 80px;" >
<?php
$pleasure= $_POST['pleasure'];
$dogs=$_POST['dogs'];
$msg="firstcomment:$pleasure\nsecond:$dogs";
mail("test@test.com,"asda",$msg);
?>
first is a part of index.html
second is the check.php
and i don`t know why when i check the email... the comment is empy and dogs.. even if i write something in them