Bug #16213 Updated: Ignores Escape Codes
| From: | ht_regz at shaw dot ca | Date: | Thu, 21 Mar 2002 22:33:43 +0000 |
| Subject: | Bug #16213 Updated: Ignores Escape Codes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3097@lists.php.net to get a copy of this message | ||
ID: 16213
Updated by: ht_regz@shaw.ca
Reported By: ht_regz@shaw.ca
Status: Bogus
Bug Type: Output Control
Operating System: Windows XP Pro
PHP Version: 4.1.1
New Comment:
ok I apologize for that... the internet connection here at work has
been intermittant and I wanted to get it up as fast as possible... the
<?
echo "Line 1";
echo "Line 2";
?>
should of shown
<?
echo "Line 1\n";
echo "Line 2\n";
?>
and it still prints Line 1Line 2
as for mfisher@php.net
I don't see how this is a support question.. it's a bug somewhere
between php & apache for win, because the same page of code works fine
when ran on php & apache in Mandrake.
Previous Comments:
------------------------------------------------------------------------
[2002-03-21 17:07:41] rodif_bl@php.net
This functionality work fine..
your example
echo "Line 1";
echo "Line 2";
should print Line 1Line 2
if you want to do something like this
echo "Line 1\nLine 2\n";
or
echo "Line 1
Line2
";
- Brad
------------------------------------------------------------------------
[2002-03-21 17:07:20] mfischer@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
------------------------------------------------------------------------
[2002-03-21 17:03:51] ht_regz@shaw.ca
To quote the manual's example
echo "This spans
multiple lines. The newlines will be
output as well";
echo "This spans\nmultiple lines. The newlines will be\noutput as
well.";
simply does not work...
When escape codes are entered it shows up exactly as written minus the
escape codes.
if i were to
<?
echo "Line 1";
echo "Line 2";
?>
the output on the page would be Line 1Line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16213&edit=1