Skip to content
Advertisement

I have seen the code that displays the first image i.e latest image in a folder using php, now how do i make the code to display the second and third

I want this code to display the second image from a folder. You can show me another code that can display the third image, Thank You. Please, your codes would be appreciated.

like so

JavaScript

Advertisement

Answer

Here is another way to grab directory files from localhost.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement