Re: Newline character

From: Date: Mon, 14 Oct 2002 10:41:43 +0000
Subject: Re: Newline character
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349133@lists.php.net to get a copy of this message
> I`m using php 4.1 with apache on Windows2000 server. > When i open the following php file in my browser > > <html> > <body> > <?php print('hallo world\n');?> > </body> > </html> > > the output in my browser is > > hello world\n > > why did the browser not interpret the newline character ? Because you're using single quotes (') instead of double quotes ("). Anyhow, this is not the place to ask this kind of question. Ask in the php-general list. Best regards, Jome

« previous php.doc (#969349133) next »