Freedomware wrote:
David Obrien wrote:

You 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 (" ")?


"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. Papi

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to