Mam problem z upakowaniem kawałków kodu w funkcje
pierwsza funkcja
druga funkcja
for ($i=0;$i<10;$i++) { $arr[]= "http://farm$farm2[1].staticflickr.com/$server2[1]/$id2[1]_$secret2[1].jpg"; $photo ="<img src=\"http://farm$farm2[1].staticflickr.com/$server2[1]/$id2[1]_$secret2[1].jpg\" />"; }