0) { // update count and string of files to be returned $returnstr .= "

\n"; } } $returnstr .= ''; echo $returnstr; closedir($dirHandle); ?>