I have a folder full of images, ad im trying to use php to display them, is this right?
PHP Code:<?php
$handle = opendir(dirname(realpath(__FILE__)).'/../images/dolls/'.$row['id']);
while($file = readdir($handle)){
echo '<img src="realpath(__FILE__)).'/../images/dolls/'.$file.'" border="0" />';
}
?>



Reply With Quote





Bookmarks