Re: \n is not working!

From: Date: Sun, 04 Apr 2004 22:09:37 +0000
Subject: Re: \n is not working!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182302@lists.php.net to get a copy of this message
On Sun, 2004-04-04 at 17:58, Labunski wrote: > \n isn't working properly. > > Why do this line $new_topic = > $post_0.'|'.$post_1.'|'.'$post_2\n'; writes to > the document > one|two|three\n > but not > one|two|three (and break) Because it's in single quotes versus a double quotes. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#182302) next »