Re: newie question about PHP lang

From: Date: Mon, 22 Jul 2002 07:47:59 +0000
Subject: Re: newie question about PHP lang
References: 1  Groups: php.lang 
Request: Send a blank email to php-lang+get-337@lists.php.net to get a copy of this message
php-lang is for specifications of the PHP language, not for help in programming PHP. Try php-general. On Sun, Jul 21, 2002 at 07:29:45AM +0800, KK Lee wrote: > Dear ALL, > > It seems that i have a very silly problem. > I can't get the new line escape character to work. > the following is my SIMPLE script and responding output. > > > PHP script: > <!DOCTYPE HTML PUBLIC > "-//W3C//DTD HTML 4.0 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd" > > <html> > <head> > <title>TEST</title> > </head> > <body bgcolor="#ffffff"> > <?php > echo "this should be printed out:\n"; > echo "this is a second line"; > ?> > </body> > </html> > > > Output in IE6: > this should be printed out: this is a second line > > > regards, > > KK > > > -- > PHP Language Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.lang (#337) next »