Jump to content

style switcher


phpwiz

Recommended Posts

ok i am making a styleswitcher script where the user has the option to change the style of the site

 

i was thinking of making a field in the users table called "style" and like 1 for green 2 for red 3 for blue...

 

and have variables in my script

 

$green =  mysql_query("UPDATE users SET `style`='1' WHERE `style`='$id' ");

 

or something like that and i am TOTALLY STUCK! can someone please help!!!!!

Link to comment
https://forums.phpfreaks.com/topic/170784-style-switcher/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.