ID:               26932
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mom_ka_banu at yahoo dot co dot uk
-Status:           Open
+Status:           Bogus
 Bug Type:         Output Control
 Operating System: Linux 9(Shrike)
 PHP Version:      4.3.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

<?php
 echo "<pre>This prints a newline\nagain a new line\tnow a tab</pre>";
 echo nl2br("This prints a newline\nagain a new line\tnow a tab");
?>



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

[2004-01-16 05:26:12] mom_ka_banu at yahoo dot co dot uk

Description:
------------
when i write a php script like
<?php
 echo "This prints a newline\nagain a new line\tnow a tab";
?>
when i save this file as abc.php and ope it in mozilla or Konqueror the
output is

This prints a newlineagain a new linenow a tab

It simply bypasses all escape characters like \t or \n


Expected result:
----------------
How to fix it




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


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

Reply via email to