Php Syntax Error Unexpected T_sl
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings syntax error, unexpected t_sl heredoc and policies of this site About Us Learn more about Stack Overflow
Parse Error Syntax Error Unexpected T_sl Php
the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation php eot Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it
Unexpected End Of File
only takes a minute: Sign up Syntax error, unexpected T_SL up vote 7 down vote favorite 1 I'm fairly new to php and I'm using a script that creates a function called the "mime_mailer" which essentially allows me to use PHP to send emails that are able to be designed with CSS instead of being merely plain text. Yet, in heredoc php my registration script, I try to write some code that sends a CSS email, but I get an error saying that there's a syntax error. Could someone please fill me in on this? $subject = "Your Red-line Account"; $css = "body{ color: #090127; background-color: #f0f0f0; }"; $to = $usercheck; //Message $message =<< Hi $first_name, Your Red-line account is almost complete. To finish, go to The Red-line and enter your eight digit confirmation code. Your confirmation code is: $code Sincerely, The Red-line Operator