load image php from folder code example
Example: Extract images from a folder in php
<?php
function rasmname(){
$dirname = "./";
$images = glob($dirname."*.jpg");
foreach($images as $image) {
echo '<img src="'.$image.'" /><br />';
}
}
rasmname();