[!--quoteo(post=372365:date=May 8 2006, 06:53 PM:name=alpine)--][div class=\'quotetop\']QUOTE(alpine @ May 8 2006, 06:53 PM) [snapback]372365[/snapback][/div][div class=\'quotemain\'][!--quotec--] One very basic example - look it up in the [a href=\"http://www.php.net\" target=\"_blank\"]Manual[/a], put this in a file in the folder with your images - and call the file [code] if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "<img src='". $file."'>"; } } closedir($handle); } [/code] [/quote] it gives me errors? and here is a stupid question,do i put it in the body or before the head?lol but it gives me this Parse error: syntax error, unexpected '{' in /home2/techker/public_html/wallpapers_bb/view.php on line 5