Simple Error Help [RESOLVED]
I'm only new to PHP, I'm making a simple script and have an simple error can someone help with it please
The Error is Parse error: parse error in /home/httpd/vhosts/httpdocs/includes/test.php on line 29
PHP Code:
<body>
<php
if ($action == "save")
{
echo "save";
$to = "[email protected]";
$subject = "PHP Is Great";
$body = "PHP is one of the best scripting languages around";
$headers = "From: [email][email protected][/email]\n";
mail($to,$subject,$body,$headers);
echo "Mail sent to $to";
}else{
?>
<form method="POST" action="test.php?action=save">
<p><input type="text" name="T1" size="20"></p>
<p><input type="radio" value="V1" name="R1"></p>
<p><input type="radio" value="V2" checked name="R1"></p>
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2">
</form>
<?php
}
?>
</body>