Autor Zpráva
kiwwik
Profil *
ahojte,
mam tento kod a vypisuje mi to chybu
<?php
$url="http://www.hiclip.de/api/feed_v10/?hiclip_sort_by=view&hiclip_ti me_range=day&
hiclip_page=1&hiclip_per_page=25&hiclip_category=funny&hiclip_account= ihr_account&
hiclip_hash=3b196a019febb40689bc9eced304f9ed";

 
$arr_result=(unserialize(file_get_contents("$url")));

foreach ($arr_result AS $i => $clips)
	{
		$replace = array(
			++$i, 
			$clips['hiclip_vid'], 
			$clips['hiclip_vkey'], 
			$clips['hiclip_thumb_url'], 
			$clips['hiclip_title'],
			"<img src=\"".$clips['hiclip_rating_img']."\" title=\"".$clips['hiclip_rating_title']."\" />",
			$clips['hiclip_hits'],
			$clips['hiclip_duration_min'],
			$clips['hiclip_user_id'],
			date("d.m.y H:i",$clips['hiclip_addtime']),
			$image_rotate,$template
		);
		$template .= str_replace($search, $replace, $template_clips_thumb);
	}
	return $template;
?>


Warning: Invalid argument supplied for foreach() in D:\www\wamp\www\web\videos.php on line 9
Taps
Profil
kiwwik
žádné hodnoty se ti nedostávají do pole,
pokud pole existuje tak si ho zkus vypsat pomocí print_r($arr_result);

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0