Heredoc making me feel dumb
Date: 06/27/07
(PHP Community) Keywords: no keywords
The offending code:
$checkbox_markup = << - Access
HEREDOC;
When I take it out, the script is fine. When it's in, I get an "unexpected $end" error for the last line of the file.
The HEREDOC; bit isn't indented, and I don't know what else could be going wrong here. Any ideas? Thanks!
Source: http://community.livejournal.com/php/573497.html