Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $img = 'img/wizytowe/thumbs';
- $files = scandir($img);
- foreach($files as $file)
- {
- if($file !="." && $file != "..")
- $print = "<li><img src='$img.'/'.$file 'alt=""/>";
- echo $print;
- //echo "<ul><li>model: unknown</li><li>kolory: arbuz</li><li>obcas: 7cm</li></ul>";
- echo "</li>";
- }
- ?> </ul>
Add Comment
Please, Sign In to add comment