Can someone check my script

for some reason it is not working – i was wondering if someone would take a look at my scripting to see if i missed something.

<?
	$to = "[email protected]"
	$msg = "$name

";
	$msg .="$email

";
	
mail($to, $subject ="Promotional Updates", $msg, "From: $name
Reply-To: $email
")

?>

[AS]on (release) {
if (name eq “” or email eq “”) {
gotoAndStop (“not”);
} else {
loadVariablesNum (“updates.php”, 0, “POST”);
gotoAndStop (“valid”);
}
}
[/AS]

Try this:


<?
$to = "[email protected]";
$msg = "$name

";
$msg .="$email

";
mail($to,"Promotional Updates", $msg, "From: $name
Reply-To: $email
");
?>

Don’t forget semicolons ! :stuck_out_tongue: