Reply to Re: html output lines

Your name:

Reply:


Posted by ED on 03/25/06 02:39

true, but you have to type 4 characters every line instead of 2 that way ;-)



"Justin Koivisto" <justin@koivi.com> wrote in message
news:8JidnQxIyOAz8LnZRVn-tA@onvoy.com...
> ED wrote:
>> "fiziwig" <fiziwig@yahoo.com> wrote in message
>> news:1143224578.951239.12360@t31g2000cwb.googlegroups.com...
>>> echo '<div>\n';
>>>
>>> --gary
>>>
>>
>> erm, shouldn't that be:
>> echo "<div>\n";
>> (note: double quotes not single)
>
> or you could define the end of line string in a constant for easier
> modification down the road...
>
> <?php
> define('CRLF',"\r\n");
>
> echo '<div>',CRLF;
> ...
> ?>
>
> --
> Justin Koivisto, ZCE - justin@koivi.com
> http://koivi.com

[Back to original 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

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