Pages

Monday, November 15, 2021

Fetch Folder name in php

 <?php


    $path ="indus-img";
    $contents = scandir($path);


    $new_src=$contents[2];
    $count=count($contents);
    echo $new_src;
    echo $count;
 


?>

No comments:

Post a Comment

KeyPoints-Series-1

  The Android architecture has the Main Thread AKA UI thread, which updates the UI after every  16ms  frame.