Beginners question
| From: | Martin Purdy | Date: | Sun, 09 Feb 2003 16:49:55 +0000 |
| Subject: | Beginners question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-134957@lists.php.net to get a copy of this message | ||
Hi everybody
I am totally new to PHP, and I have a problem with the Print statement.
When I send a newline using "\n" nothing happens.
I cannot get any linebreaks into my code.
The following line is copied from the PHP Manual, and is sopposed to give me
the text split into 3 lines, but they come out as one line.
echo "This spans\nmultiple lines. The newlines will be\noutput as
well.";
Can someone please tell me what I am doing wrong?
Martin Purdy