-
cookie help
I'm making a site and the defult nav is in flash but under "Accessibility" visitors/clients will find the option to turn all flash off and just have a html version nav. If they choose the html version how could I get there settings to be remembered next time they visit? I'm new to php so i'm sorry if this is very basic.
Thanks!!
-
Use setcookie() to set a cookie. You should handle this data with the array $_COOKIE. See www.php.net/setcookie
-
If you also use a MySQL database you could add it there.
So, where you have your users table you could have a field called nav_type
It could have a value of 0(Flash) or 1(Html)
Mark.