Location: PHPKode > scripts > CSS Stacker and Compressor > index.php
<html><head><title>test</title>
<?php
$proc = TRUE;
include('config.php');
include('css.class.php');
$theCSS = new CSStacker();
$theCSS->add('css/lol.css');
$theCSS->add('xd.css');

echo '<link rel="stylesheet" type="text/css" href="'.$theCSS->printme('filename').'" />';
// Please note that with this method you won't be able to use the built-in header modifications features!
unset($theCSS);
?>
<!-- OR you can print it as a inline style: -->
<style><?php
$inlineCSS = new CSStacker();
$inlineCSS->add('lol.css');

$inlineCSS->printme('inline');
unset($inlineCSS);
?></style>
</head>
<body><p>Hello world!</p>
<p>This is an example of how to use the filename and inline options within your index.php file</p>
<p>As you can see, there isn't much difference</p></body></html>
Return current item: CSS Stacker and Compressor