Example page - how to select different css
select css:
default
other one
When you click on the links above you send a request to setcsscookie.php with two parameters:
- id which contains the name of the css you want to use (it will be stored in a cookie)
- page which contains the name of the current page, it is used because inside setcsscookie.php there's a redirect to the page (so that clicking on the link will just change the actual css).
go to page2
back to www.noya.it - php tutorials