I have written a short script in PHP that parses an HTML template and replaces Blocks (looks-like special HTML Tags) with information fetched from a Mysql database.

The problem I have is that the HTML template includes several Javascripts and CSS definitions, looks like that:

<link rel="stylesheet" type="text/css" href="default.css">
<style type="text/css">@import url(default.css);</style>

I do not understand why the browser cannot interpret it after it is parsed through the PHP script. A link relation to a favicon works without problems and is displayed in the browser URL.

Does anybody know how to get it running?

Regards,
Björn


-- Die größte aller Schwächen ist, zu fürchten, schwach zu erscheinen. (Jacques Benigne Bossuet)

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



Reply via email to