Ad occhio e croce:
codice:<?php for( $i = 1; $i < 11; $i++ ) { $fs = "foto{$i}_small.jpg"; $fb = "foto{$i}_big.jpg"; if( file_exists( $fs ) ) echo '[img]'.$fs.'[/img]'; } ?>
Ad occhio e croce:
codice:<?php for( $i = 1; $i < 11; $i++ ) { $fs = "foto{$i}_small.jpg"; $fb = "foto{$i}_big.jpg"; if( file_exists( $fs ) ) echo '[img]'.$fs.'[/img]'; } ?>
think simple think ringo