Categories
Web Site Technologies

Setting a Background Color Based on User Choice Using PHP and Cookies

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.

Leave a Reply

Your email address will not be published. Required fields are marked *