Quote:
Originally Posted by kraze98nyc
I'm getting an error on line 6 of the second page...
Parse error: syntax error, unexpected T_SL in xxxxxxxxxxxxx on line 6
|
Quote:
T_SL is the /T/oken for the /S/hift /L/eft operator (<<).
so "unexpected T_SL" means there is an occurence of << that is
syntactically incorrect. this commonly happens when you use heredoc
syntax ("<<<") and have whitespace before or after the closing
identifier. see
http://www.php.net/manual/en/languag...guage.types.st
ring.syntax.heredoc for details.
|
So, make sure the final identifier (the three <<<) does not have any whitespaces before or after it--it's picky.