Problem jest taki ze mam w katalogu images/ 700 obrazków i chciałbym żeby nie wyświetlały się wszystkie naraz na jednej stronie tylko np po 40 i strzałka >> do następnych 40 w kolejności..
Czy miałby ktoś chwilkę żeby sie tym pobawić ?
Oto kod:
<TABLE ALIGN=CENTER width=\"94%\" BORDER=0 bgcolor=\"#F5F5F5\" bordercolor=\"#93B784\" cellspacing=0 cellpadding=1 NOWRAP><tr> <?php $dir = \"images/\"; $cols = 4; $counter = 1; if($file != \".\" && $file != \"..\"){ if($ext <> \"gif\") continue; continue; } $name = $name.\".txt\"; $str = \"\"; } else{ } } else{ $str = \"\"; } $img_w = $size[0]; $img_h = $size[1]; $ratio = $img_w / $img_h; if($ratio > 1){ $img_w = $width; $img_h = ($width / $ratio); } else{ $img_w = ($width * $ratio); $img_h = $width; } if(($counter >= $cols) && (($counter % $cols) == 0)){ } $counter++; } } ?> </table> </body> </html>