_benbenben_ wrote in php

I would like users to be able to change their own styles on my website.
Currently I have divs and colors set in my css file. To be able to dynamically change the values set into the css file I’m thinking I should write in php to pull the values from my database into the css file however when I change my css file name to style.php I lose the css file functions.

Has anyone come across this issue before, how do I make dynamic styles for each user?