Global Golf News

This content is from BBC Sport website
"; echo "

".$as_array[channel][item][$i][title]."

"; //if ($_SESSION['puid']==77) { echo " · Edit · Delete "; } echo $as_array[channel][item][$i][description]."
"; echo "Link · ".$as_array[channel][item][$i][pubDate].""; echo "
"; //echo "3 - ".$as_array[channel][item][0][link]."
"; //echo "3 - ".$as_array[channel][item][0][guid]."
"; } ?>
This content is from pga.com website
"; echo "

".$as_array[channel][item][$i][title]."

"; //if ($_SESSION['puid']==77) { echo " · Edit · Delete "; } echo $as_array[channel][item][$i][description]."
"; echo "Link · ".$as_array[channel][item][$i][pubDate].""; echo "
"; //echo "3 - ".$as_array[channel][item][0][link]."
"; //echo "3 - ".$as_array[channel][item][0][guid]."
"; } ?>
0 ? (int) $limit : -1; $arrs[] = $array; for ($i=0; isset($arrs[$i]) && is_array($arrs[$i]); ++$i) { foreach ($arrs[$i] as $value) { if (!is_array($value) ) ++$cnt; elseif( $limit==-1 || $limit>1 ) { if( $limit>1 ) --$limit; $arrs[] = $value; } } } return $cnt; } function object2array($object) { $return = NULL; if(is_array($object)) { foreach($object as $key => $value) $return[$key] = object2array($value); } else { $var = get_object_vars($object); if($var) { foreach($var as $key => $value) $return[$key] = object2array($value); } else return strval($object); // strval and everything is fine } return $return; } ?>