> $cookie = $_COOKIE['bookmarks']; > if(unserialize($cookie) == true) { > $bookmarks = unserialize($cookie); > } else { > $bookmarks = array(); > } if (isset($_COOKIE['bookmarks'])) { $cookie = $_COOKIE['bookmarks']; if(unserialize($cookie) == true) { $bookmarks = unserialize($cookie); } else { $bookmarks = array(); } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php