YPO Showcase

showcase){ $i = 0; foreach ($xmldoc->showcase as $item) { $client = $item->item; $showcase[$i]['title'] = (string)$client->title; $showcase[$i]['link'] = (string)$client->link; $showcase[$i]['description'] = (string)$client->description; $showcase[$i]['image'] = (string)$client->image; $showcase[$i]['pubDate'] = (string)$client->pubDate; $showcase[$i]['category'] = (string)$client->category; $showcase[$i]['order'] = (string)$client->order; $showcase[$i]['type'] = (string)$client->type; $i++; } } function seoShuffle($items, $string) { mt_srand(strlen($string)); for ($i = count($items) - 1; $i > 0; $i--){ $j = @mt_rand(0, $i); $tmp = $items[$i]; $items[$i] = $items[$j]; $items[$j] = $tmp; } } //$items = array('one','two','three','four','five','six'); seoShuffle($showcase,$website_string); ?>