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.

This entry was posted in Web Site Technologies and tagged , . Bookmark the permalink.

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

  1. Neko says:

    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 *