On Mon, 20 May 2002, Darren Edwards wrote:
> 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.

if ($cookie_was_set)
{
  // set images and background based on cookie contents
}
else
{
  // set default images and background
}

Surely there's some more challenging aspect to your query but I'm at a 
loss as to what it is.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to