There is a mystery…
I have opened my http://www.smalandsgardar.nu/Resources/seasonal.php with TextMate. I have copied the content and it reads as follows:
<?php $images = array(1 => 'winter1.jpeg', 2 => 'winter2.jpeg', 3 => 'winter3.jpeg', 4 => 'winter4.jpeg', 5 => 'spring1.jpeg', 6 => 'spring2.jpeg', 7 => 'spring3.jpeg', 8 => 'spring4.jpeg', 9 => 'summer1.jpeg', 10 => 'summer2.jpeg', 11 => 'summer3.jpeg', 12 => 'summer4.jpeg', 13 => 'fall1.jpeg', 14 => 'fall2.jpeg', 15 => 'fall3.jpeg', 16 => 'fall4.jpeg'); header('Content-type: text/css'); ?>#seasonalpicture {
background-image: url(<?php print($images[date('n')); ?>);
background-size: cover;
background-position: center;
}
Is this different from what you find? If so, where is the error?
freewaytalk mailing list
email@hidden
Update your subscriptions at: