echo '<link href="'/css/' . $continentcode . '/' . $myregion . '.css'" rel="stylesheet" type="text/css" />';
The thing you do need to check is your $continentcode especially, as that is the one that links between pages and the style sheet (unless I missed where it was assigned based on something else). Also check to make sure you have ' appropriately. I find an odd number of ' in your example and if you are not careful then you have cut off a piece of the echoed code.
That will cut down some on code as well as help with the figuring out of where the issue is. I personally use print " <link href=\"/css/continentcode/$myregion.css\" rel=\"stylesheet\" type=\"text/css\">" for things like that, no having to join the information together, the server does the work for me.
Robert
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php