Newbie here.  Works fine for me too.

-----Original Message-----
From: Marco Tabini [mailto:marcot@;tabini.ca]
Sent: Tuesday, November 12, 2002 5:31 AM
To: Aaron Gould
Cc: Craig Buxton;
Subject: Re: [PHP] re: echo w/ here document


Works fine on my system. As Aaron said, make sure there are no spaces
around ENDOFECHO;


Marco

--
------------
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com

On Tue, 2002-11-12 at 08:21, Aaron Gould wrote:
> Looks ok to me.  Try making sure that all white space is removed from
after
> the "echo <<<ENDOFECHO", and both before and after the "ENDOFECHO;" line.
> Heredocs don't play nicely with white space...
> --
> Aaron Gould
> [EMAIL PROTECTED]
> Web Developer
> Parts Canada
>
>
> ----- Original Message -----
> From: "Craig Buxton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 12, 2002 5:32 AM
> Subject: [PHP] re: echo w/ here document
>
>
> > I'm still having a problem with including a here document. Trying this
> > code:
> >
> > <?php
> > echo <<<ENDOFECHO
> > <HTML>
> > <BODY>
> > hello... hello... hello... hello...
> > </BODY>
> > </HTML>
> > ENDOFECHO;
> > ?>
> >
> > I get a parse error on line 7. Please help. I have a major project that
> > has ground to a halt.
> >
> > Craig Buxton
> > Gravity Pilot Productions
> > [EMAIL PROTECTED]
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to