PDA

View Full Version : can someone check my script



urbaneve
December 10th, 2003, 05:45 AM
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 = "updates@proimagesolution.com"
$msg = "$name\n\n";
$msg .="$email\n\n";

mail($to, $subject ="Promotional Updates", $msg, "From: $name\nReply-To: $email\n")

?>


on (release) {
if (name eq "" or email eq "") {
gotoAndStop ("not");
} else {
loadVariablesNum ("updates.php", 0, "POST");
gotoAndStop ("valid");
}
}

Voetsjoeba
December 10th, 2003, 07:15 AM
Try this:



<?
$to = "updates@proimagesolution.com";
$msg = "$name\n\n";
$msg .="$email\n\n";
mail($to,"Promotional Updates", $msg, "From: $name\nReply-To: $email\n");
?>


Don't forget semicolons ! :P

urbaneve
December 18th, 2003, 03:32 AM
see - i knew it was something simple --- i forgot the semicolon after the first line.

thanks a bunch

Voetsjoeba
December 18th, 2003, 03:58 AM
You're welcome ;)