n e w a t b o t t o m
function images($result) {
$hhandle=opendir("img");
while ($file = readdir($hhandle)) {
if ($file == "." || $file == "..") { }
elseif (strstr($file, ".gif") || strstr($file, ".jpg")) { print "
"; }
}
closedir($hhandle);
return $result;
}
echo images($result);
?>