I would like to derive my website background image from database.those background images are loading through banner.css file.
banner.css 
<?
header("Content-type: text/css");  
include("getfrontimage.php");
$theme = "images";
$size = "cover";
$height = "780px";
?>
<style>
.w3layouts-banner-top{
    background: url(<?php  echo $theme.'/'.$row1[image];?>) no-repeat 0px 0px;
    background-size: <?php echo $size; ?>;
    -webkit-background-size: <?php echo  $size; ?>;
    -moz-background-size: <?php echo $size; ?>;
    -o-background-size: <?php echo $size; ?>;     
    -moz-background-size: <?php echo $size; ?>;
    min-height: <?php echo $height; ?>;
}
.w3layouts-banner-top1{ 
    background: url(<?php echo  $theme.'/'.$row2[image]; ?>) no-repeat 0px 0px;
    background-size: <?php echo $size; ?>;
    -webkit-background-size: <?php echo $size; ?>;
    -moz-background-size: <?php echo $size; ?>;
    -o-background-size: <?php echo $size; ?>;     
    -moz-background-size: <?php echo $size; ?>;
    min-height: <?php echo   $height; ?>;
}
.w3layouts-banner-top2{
    background: url(<?php echo $theme.'/'.$row3[image]; ?>) no-repeat 0px 0px;
    background-size: <?php echo $size; ?>;
    -webkit-background-size: <?php echo $size; ?>;
    -moz-background-size: <?php echo $size; ?>;
    -o-background-size: <?php echo $size; ?>;     
    -moz-background-size: <?php echo $size; ?>;   
    min-height: <?php echo $height; ?>;
}
</style>
But background images are not loading in my website. I refer this links enter link description here
please give me any idea to resolve this problem.
 
     
    