| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|dynamic style sheets from DB|
| 10:57 am on Nov 10, 2009 (gmt 0)|
Hi I would like to see if it is possible to have a database store css file sheets
then have a user id linked to a style
thne basicaly when the page loads it will run a query and use the css sheet that matches the user
is there a way of having a difrent css loaded into a page ?
| 4:47 pm on Nov 10, 2009 (gmt 0)|
This is possible, just reference a php script to output your css instead of writing a .css file to the system.
<link rel="stylesheet" href="/pathtomyscript.php?css=1" />
//output of script...
//output the css
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved