Re: Why are my style sheets all listed on one line?
| From: | Pavel Jartsev | Date: | Fri, 30 Jan 2004 09:03:49 +0000 |
| Subject: | Re: Why are my style sheets all listed on one line? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176312@lists.php.net to get a copy of this message | ||
Freedomware wrote:
David Obrien wrote:"newline"-character should be inside double quotes ("\n"). For example: instead of: echo '<link href="' . $periods . 'css/nations.css" rel="alternate stylesheet" type="text/css" title="Nations" />\r\n'; use: echo '<link href="' . $periods . 'css/nations.css" rel="alternate stylesheet" type="text/css" title="Nations" />'."\n"; Hope that helps. :) -- Pavel a.k.a. PapiYou need a \n at the end of each line inside the quote like echo "<stylesheet>\n"; \n is newline -Dave... Do I need to modify the new line code because my echo statements are enclosed in single quotes (' '), rather than double quotes (" ")?