You need a \n at the end of each line inside the quote like echo "<stylesheet>\n";
\n is newline -Dave
Thanks for the tip. However, I must be doing something wrong. \n didn't work, so I searched Google for PHP + "new line" and found a page that said you have to use \r\n if you're working on a Windows platform. But that doesn't seem to work, either. (If you do use a special new line for a Windows computer, then publish your website to a Linux server, will that cause problems?)
Do I need to modify the new line code because my echo statements are enclosed in single quotes (' '), rather than double quotes (" ")?
I pasted my entire include page code below. Thanks!
<?php
$todayDate = date("m-d-Y");
echo '<title>Freedomware > ' . $myname . '</title>';
echo '<meta name="description" content="' . $myname . ' versus Microsoft" />';
echo '<meta name="keywords" content="' . $myname . ' versus Microsoft" />';
echo '<meta name="mssmarttagspreventparsing" content="true" />';
echo '<meta http-equiv="content-Type" content="text/html; charset=iso-8859-1" />';
echo '<meta name="author" content="David Blomstrom" />';
echo '<script src="' . $periods . 'js/swapclass.js" type="text/javascript"></script>';
echo '<script language="JavaScript" src="' . $periods . 'js/sort.js"></script>';
echo '<script language="JavaScript" src="' . $periods . 'js/ss.js"></script>';
echo '<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>';
echo '<link href="' . $periods . 'css/ref.css" rel="stylesheet" type="text/css">';
if($includea1 == TRUE){
echo '<link href="' . $periods . 'css/' . $continentcode . '/a1.css" rel="stylesheet" type="text/css" />';
}
echo '<link href="' . $mycss . '.css" rel="stylesheet" type="text/css" />';
echo '<link href="' . $periods . 'css/nations.css" rel="alternate stylesheet" type="text/css" title="Nations" />\r\n';
echo '<link href="' . $periods . 'css/themes/peace.css" rel="alternate stylesheet" type="text/css" title="Peace" />\r\n';
echo '<link href="' . $periods . 'css/themes/war.css" rel="alternate stylesheet" type="text/css" title="War" />\r\n';
echo '<link href="' . $periods . 'css/themes/pat' . $countrycode . '.css" rel="alternate stylesheet" type="text/css" title="Patriotism" />\r\n';
echo '<link href="' . $periods . 'css/themes/nationalism.css" rel="alternate stylesheet" type="text/css" title="Nationalism" />\r\n';
echo '<link href="' . $periods . 'css/themes/corporate.css" rel="alternate stylesheet" type="text/css" title="Corporate" />\r\n';
echo '<link href="' . $periods . 'css/themes/conspiracy.css" rel="alternate stylesheet" type="text/css" title="Conspiracy" />\r\n';
echo '<link href="' . $periods . 'css/themes/media.css" rel="alternate stylesheet" type="text/css" title="Media" />\r\n';
echo '<link href="' . $periods . 'css/themes/education.css" rel="alternate stylesheet" type="text/css" title="Education" />\r\n';
echo '<link href="' . $periods . 'css/themes/911.css" rel="alternate stylesheet" type="text/css" title="911" />\r\n';
echo '<link href="' . $periods . 'css/themes/bush.css" rel="alternate stylesheet" type="text/css" title="Bush" />';
echo '<link href="' . $periods . 'css/themes/campaign.css" rel="alternate stylesheet" type="text/css" title="Campaign" />\r\n';
echo '<link href="' . $periods . 'css/themes/na.css" rel="alternate stylesheet" type="text/css" title="NA" />\r\n';
echo '<link href="' . $periods . 'css/themes/sa.css" rel="alternate stylesheet" type="text/css" title="SA" />\r\n';
echo '<link href="' . $periods . 'css/themes/europe.css" rel="alternate stylesheet" type="text/css" title="Europe" />\r\n';
echo '<link href="' . $periods . 'css/themes/asia.css" rel="alternate stylesheet" type="text/css" title="Asia" />\r\n';
echo '<link href="' . $periods . 'css/themes/mideast.css" rel="alternate stylesheet" type="text/css" title="Mideast" />\r\n';
echo '<link href="' . $periods . 'css/themes/africa.css" rel="alternate stylesheet" type="text/css" title="Africa" />\r\n';
echo '<link href="' . $periods . 'css/themes/aus.css" rel="alternate stylesheet" type="text/css" title="Australia" />\r\n';
echo '<link href="' . $periods . 'css/themes/pacific.css" rel="alternate stylesheet" type="text/css" title="Pacific" />\r\n';
echo '<link href="' . $periods . 'css/themes/atlantic.css" rel="alternate stylesheet" type="text/css" title="Atlantic" />\r\n';
echo '<link href="' . $periods . 'css/themes/indian.css" rel="alternate stylesheet" type="text/css" title="Indian" />\r\n';
echo '<link rel="SHORTCUT ICON" href="../../../../us/aaa/favicon.ico" />';
?>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php