I'm trying to display two randomly selected images from a dir 

Instead of images, img.names are displayed 

```
$dir    = 'memb_area/captcha/imgs/';
$files = scandir($dir);
$rand_keys = array_rand($files, 2);
echo $files[$rand_keys[0]] . "\n";
echo $files[$rand_keys[1]] . "\n";  

```

Also tried: 

```
echo '<img src="memb_area/captcha/imgs">' + 'echo $files[$rand_keys[0]] . "\n";'

```

And - is it possible to print these pictures inside a separate div on a page?