Re: \n being output as a space
| From: | Julia A . Case | Date: | Mon, 04 Dec 2000 01:05:00 +0000 |
| Subject: | Re: \n being output as a space | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28489@lists.php.net to get a copy of this message | ||
Quoting Patrick Dunford (patrick.dunford@clear.net.nz):
> I am having a problem with the following code:
>
> echo "\nUploaded $upload_name to ftp.godzone.net.nz as
> $newfilename";
>
Try using <BR> insead of \n HTML doesn't use \n like you expect... or you
could put <PRE>\nText</PRE> and the \n will work like you expect
Julie
--
[ Julia Anne Case ] [ Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for. ]
[ Admining Linux ] [ To thine own self be true. ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]