Answers for "show image gallery from folder in php"

PHP
1

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();
Posted by: Guest on August-08-2020

Code answers related to "show image gallery from folder in php"

Browse Popular Code Answers by Language