On Tue, 26 Aug 2003 19:14:06 GMT in
<message-id:3F**************@williamc.com>
william c <te************@williamc.com> wrote:
$content1 = <<< END1 ^
^
Can't have a space here =)
???
Hmm.. my apologies for the confusion here William.. I've always used
heredocs with no space there (<<<EOF etc) but I've just tested and it
appears you can have a space, or without.. no difference =)
You mean can't have a space here, no?
END1;
^
The books I'm looking at say you *must* have a space after the <<< and
before the identifier.
--wmc.
There (' END1;') can't have a space before it, as this produces a 'Parse
error' (aka: syntax error).
Apologies for any confusion caused regarding the '<<< END1' part =)
Regards,
Ian
--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.