/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
$thumb = "thumb"; //thumb folder name whit no "/"
$images = "img"; //images folder name whit no "/"
if ( $file != "." && $file != ".." )
$listOfFilesToSort[$file] = $file;
}
foreach ( $listOfFilesToSort as $file )
{
echo '<a href="'.$images.'/'.$file.'"><img src="'.$thumb.'/'.$file.'" class="gal"></a>';
}
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                