Posted by Justin Koivisto on 03/25/06 00:07
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]
|