$string = nl2br($string)
This will change a new line into ; but make sure HTMLspecialchars aren't
in the same part.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
Have a look at file() :
http://www.php.net/manual/en/function.file.php
$lines = file('log_test.txt');
echo $lines[4]; // prints line #5
regards,
philip
On Fri, 27 Apr 2001, Gary wrote:
> Thanks for everyone's help on the original question. Now that I have
> gotten the line breaks in
just do
$content_str = implode("\n", $content);
at the end of the file.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Gary [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April
3 matches
Mail list logo