Re: [PHP] Character newline (\n), How to

2001-08-01 Thread Philip Olson
A couple possible reasons : 1. Mixing \n and \n won't create a newline within your browser but rather it will within your html source code. Meaning, look at your html source and notice the newlines. 2. Using single quotes echo '\n'; will literally print '\n', in otherwords, it won't be e

RE: [PHP] Character newline (\n), How to

2001-08-01 Thread Jack Dempsey
How are you using it? Show some code...maybe you're doing echo '\n' instead of "\n"... jack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 3:01 PM To: [EMAIL PROTECTED] Subject: [PHP] Character newline (\n), How to Hi, somebody kn

Re: [PHP] Character newline (\n), How to

2001-08-01 Thread Keith Jeffery
My guess is that it is working, just not like you'd expect. You're generating HTML, so if you want a new line to be displayed in your HMTL document you need to do echo "Hello there"; instead of "Hello there\n"; \n will give you a pretty new line if you look at the source of the page Keith Jeffe