Newline help...

From: Date: Thu, 05 Dec 2002 16:28:00 +0000
Subject: Newline help...
Groups: php.db 
Request: Send a blank email to php-db+get-23833@lists.php.net to get a copy of this message
I must be stupid, because I cannot for the life of me figure out why I am not getting newlines from some very simply 'echo' statements. Here is the portion of the code below, and I am getting everything run together on a single line: <?php do { echo $list['id-sys'] . "\n"; $sys = split('-', $list['id-sys']); echo "$sys[1]\n"; } while ($list = mysql_fetch_assoc($result)); I am truly stumped by this. It is quite frustrating that something as simple as a newline can misbehave. I have been searching for this on the PHP site, newsgroups, and in a couple of books I have and yet I am still stumped. Help please. Thanks. Scott Nipp Phone: (214) 858-1289 E-mail: sn4265@sbc.com Web: http:\\ldsa.sbcld.sbc.com

« previous php.db (#23833) next »