Hey folks,
I have a CSS based menu system for a browser based application I am developing for volunteer bushfire brigades in Australia.
It pulls the styles from css files (obviously) but I would like to make it configurable and store values in a mySQL database.
That's the easy part, but then how do I get the values back into the style sheet?
won't work because it isn't a php page.
but that's the sort of thing I want to do.
The only other thing I can think of is to have a PHP include that adds the styles to the page rather than as a linked style sheet.
Is there a better way to do it?
Steve Davis
NOTE: This sig does not include any reference to voting, stars, or marking posts as helpful as doing so is cause for membership termination.
I have a CSS based menu system for a browser based application I am developing for volunteer bushfire brigades in Australia.
It pulls the styles from css files (obviously) but I would like to make it configurable and store values in a mySQL database.
That's the easy part, but then how do I get the values back into the style sheet?
Code:
background: <?php echo("#FF9900"); ?>;
but that's the sort of thing I want to do.
The only other thing I can think of is to have a PHP include that adds the styles to the page rather than as a linked style sheet.
Is there a better way to do it?
Steve Davis
NOTE: This sig does not include any reference to voting, stars, or marking posts as helpful as doing so is cause for membership termination.