This simple example hopefully shows what you can do with cookies as well as some simple PHP. Click Here to check out this example.
Categories
This simple example hopefully shows what you can do with cookies as well as some simple PHP. Click Here to check out this example.
2 replies on “Setting a Background Color Based on User Choice Using PHP and Cookies”
Hey man, how to edit this script so it doesn’t redirect in url with user choise (?color=red). I am trying to upload it on WordPress but it just redirects to mywebsite.com/?color=red which doesn’t exist. I don’t know php.
Same problem….
I really would like to use this on WordPress but it do not seems to work…