[snip] Hi, i want to use a cookie to set a skin for a site but when i go to the site when there is no cookie set then it will display no images background colors ect... So what i need to do is have a command that will set other images background ect. as default if there is no cookie there. How can i acheave this. [/snip]
check for cookie if no cookie exists use defaults, else use information from cookie to set skin. Jay "We are all apparently 'net' literate, why don't we use it to get the information we need? After all, isn't that what a Google search is all about?" "Give a man a program, frustrate him for a day. Teach a man to program, frustrate him for a lifetime." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php