Welcome Guest, Not a member yet? Register   Sign In
Dynamic CSS: getting data into the file (again)
#1

[eluser]codex[/eluser]
You can put php in a css file by adding header('text/css'), and that all works fine. But I'd like to add <?php base_url()?> (and get data from a db) to the file, but this isn't available in a regular php file. How do you extend the file so that the ci instance is available?

I already asked this question some time ago, but haven't been able to find a solution yet. Here's the original post: http://ellislab.com/forums/viewthread/77954/


Messages In This Thread
Dynamic CSS: getting data into the file (again) - by El Forum - 09-02-2008, 07:37 PM
Dynamic CSS: getting data into the file (again) - by El Forum - 09-02-2008, 09:30 PM
Dynamic CSS: getting data into the file (again) - by El Forum - 09-02-2008, 09:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB