HI … I’m new at PHP, and did some research to find this script. However, when I try to run it, I get the following error:
syntax error, unexpected T_STRING in /home/.patch/myusername/mydomain/my.php on line 2.
Here’s the script:
$to = "firstname.lastname@example.org";
$subject = "Reminder Message - SC3Arts Production Arts Team Service This Weekend!";
$body = "REMINDER: You are scheduled to serve on the Production Arts team this weekend! If you are unavailable to serve, please contact a replacement or send an email to email@example.com.\nTo check this week's schedule, login here: http://www.sc3arts.com/pages/pa/thiswk.shtml. If you are unable to login, please contact Toni Lynn Sarna at firstname.lastname@example.org with your desired password, so that she can set you up with access.\n\nThanks for your service, and God bless!";
mail($to, $subject, $body)