You are here: Re: heardoc problem « PHP Programming Language « IT news, forums, messages
Re: heardoc problem

Posted by Rik Wasmus on 12/06/07 19:08

On Thu, 06 Dec 2007 19:54:29 +0100, Thomas Mlynarczyk =

<thomas@mlynarczyk-webdesign.de> wrote:

> Also sprach JP:
>
>> Anyone see a problem with this code?
>
>> <?php
>> $login_error=3D<<<EOL
>> <html>
>> <head><title>Database Login Error</title></head>
>> <body>
>> <b>Database Login Error<br><br></b>
>> </body>
>> </html>
>> EOL;
>> echo "$login_error";
>>>
>
> Yes. It should be ?> at the end, not just >.

That's just a problem with your newsreader, the ? is (well, was before t=
he =

quote) actually there.
-- =

Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация