ID: 12762
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4.0.6
New Comment:

This is intended. Search the bug db for better explanation..and read the 
bugs-dos-and-donts next time
BEFORE submitting bug reports.


Previous Comments:
------------------------------------------------------------------------

[2001-08-15 07:25:51] [EMAIL PROTECTED]

<?
$test = fopen("test1.txt", "r") or die("unable to open file");
 while (!feof($test))
 {
 $line = fgets($test, 1024);
 $line = nl2br($line);
 print $line; 
 } 
?>
contents of file test1.txt:
test
test
test

In HTML:
test<br />
test<br />
test<br />

That is to say <br /> instead of <br>


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12762&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to