Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

css en linea php

<?php
    define('CSSPATH', 'template/css/'); //define css path

    $cssItem = 'style.css'; //css item to display

    ?>

<html>
<head>
 <title>Including css</title>
  <link rel="stylesheet" href="<?php echo (CSSPATH . "$cssItem"); ?>" type="text/css">
</head>
<body>
...
...
</body>
</html>
Source by www.it-swarm-es.com #
 
PREVIOUS NEXT
Tagged: #css #en #linea #php
ADD COMMENT
Topic
Name
3+1 =