Hi I need to include a php code to a folder in one of my css file. This is how I have link my images and other things together and it works.
For example for image I normally do this:
<img src="<?php $directories->fetchdir($img); ?> MYIMAGE.png" />
This will general turn out to be www.example.com/html/img/MYIMAGE.png
directories <--- this is my class
fetchdir <-- this is my function
I have try the same thing in my .css file and its not working. I have try the same method in my test.css file. below is what I have try
@font-face {
font-family:'FontAwesome';
src:url('<?php $directories->fetchdir($fonts);?>fontawesome-webfont.eot?v=4.0.3');
}
Please help. Thanks!