Embedding PHP In CSS

April 18th, 2009 | Buddika Laknath | Tags ,

Interesting twist to CSS and PHP.

Perhaps one of the most frustrating aspects of using PHP with websites, is getting variables into CSS. Having variables stored in an ini file, config file or even a database can make the updating of the look and feel of a site simple, however, CSS files, by default, do not parse PHP.

Embedding PHP In CSS

Recently

  • Art Blossoms in Colombo
  • Fixing the Invoice Numbers
  • CurdBee On the Go
  • Interface Improvements and more
  • Stripe for non-developers

Online billing software for small businesses & freelancers