Answers for "php all directories images"

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 "php all directories images"

Browse Popular Code Answers by Language