Re: Why are my style sheets all listed on one line?

From: Date: Fri, 30 Jan 2004 09:33:00 +0000
Subject: Re: Why are my style sheets all listed on one line?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-176315@lists.php.net to get a copy of this message
Got it. It took me a while to home in on the period. Thanks for the tips! Pavel Jartsev 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. :)


« previous php.general (#176315) next »