Hi, I just wondered if someone could take a look at my php an html code which I want to add to my website? I'm very new to php and i'm still learning HTML and CSS so I need a little help.

When I submit the form i get the "blarg!" message.

here's my code, thanks in advance.

PHP Code:
<?php
if(isset($_POST['submit'])) {

$to "XXXX@live.com";
$subject "Joining Clan";
$name_field $_POST['morf'];
$email_field $_POST['email'];
$message $_POST['message'];
 
$body "From: $name_field\n E-Mail: $email_field\n Message:\n $message";
 
echo 
"Data has been submitted to $to!";
mail($to$subject$body);

} else {

echo 
"blarg!";

}
?>
HTML Code:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>

<head>
      <title>Join Form</title>

      <link rel="stylesheet" type="text/css" href="style.css" />    
</head>

<body bgcolor="#C0C0C0">
      <table cellspacing="0" align="center" width="670">
      
        <ol> 
                         
                    <tr class="links" colspan="4" bgcolor="#D0D0D0" align="">
                    
                        <td><a class="home2" href="http://radioactiveclan.eekhost.co.uk">Home </a></td>
                    
                        <td><a class="forum2" href="http://tracforum.phpbbhosts.co.uk/index.php">Forum </a></td>

                        <td><a class="joinclan2" href="http://www.emailmeform.com/fid.php?formid=336849">Join Clan </a></td>    
                        
                        <td><a class="joinserver2" href="tmtp://#join=dan3-1625">Join Server </a></td>
                        
                    </tr>
                    
                      
        </ol>
      
      <tr>
          <th class="gradient2" colspan="4" width="670" height="116"></th>
     </tr>
      
      <tr>
          <td class="middle" bgcolor="#F0F0F0" colspan="4" width="670" height="450">
          
            <form class="form" action="mailer.php" method="post" >
                  Male or Female:
                  <input type="radio" name="morf" value="male" /> male
                  <input type="radio" name="morf" value="female" /> female
                  <br></br>
                  TM Login:
                  <input class="tmlogin" type="text" name="tmlogin" />
                  <br></br>                  
                  E-mail Address:
                  <input class="email" type="text" name="email" />
                  <br></br>
                  Age:
                  <input class="age" type="text" name="age" />
                  <br></br>
                  A little about you:<br>
                  <textarea rows="5" cols="31"></textarea> 
                  <br></br>
                  <input type="reset" value="Clear">
                  <input type="submit" name="submit" value="submit">
                  
                  
            
            </form>
                
          </td>   
                
             
      </tr>
      
      
      <tr>
          <td class="gradient" bgcolor="blue" colspan="4" width="670" height="80"></td>   
      </tr>
      
      
      
      
      
      
      </table>      
      
      
      </body>