I am new to all coding and I have no idea what is wrong here. I have a simple form I'm trying to send cleaned up results from to an email address. This is the error message I received:
syntax error at feedback.cgi line 33, near "print MESSAGE "From"
syntax error at feedback.cgi line 35, near "n\"
syntax error at feedback.cgi line 79, near "}"
Execution of feedback.cgi aborted due to compilation errors.
This is the code near each of those lines:
32 print MESSAGE "To: keith\@wilsonstreetstudio.ca\n”; # Don't forget to escape this @ symbol!
33 print MESSAGE "From: " . $FORM{name} . ", reader\n";
34 print MESSAGE "Reply-to: " . $FORM{email} . "(" . $FORM{name} . ")\n";
35 print MESSAGE "Subject: Feedback from $FORM{name} \n\n";
36 print MESSAGE "$FORM{name} wrote:\n\n";
76 EndHTML
77
78 exit(0);
79 }
In reply to syntax error by keiththirgood
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |