Guest User

Untitled

a guest
Jan 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. $img = 'img/wizytowe/thumbs';
  2. $files = scandir($img);
  3. foreach($files as $file)
  4. {
  5.     if($file !="." && $file != "..")
  6.     $print = "<li><img src='$img.'/'.$file 'alt=""/>";
  7.     echo $print;
  8.     //echo "<ul><li>model: unknown</li><li>kolory: arbuz</li><li>obcas: 7cm</li></ul>";
  9.     echo "</li>";
  10. }
  11. ?>             </ul>
Add Comment
Please, Sign In to add comment