Answer the question
In order to leave comments, you need to log in
How to automate the insertion of images in html?
I have a folder with pictures, what should I do in order not to write the path to the picture every time?
I need the picture to be automatically added to the site from the folder.
I want to save myself from the tedious prescribing of the path to the image.
Help me please)
Answer the question
In order to leave comments, you need to log in
https://www.php.net/manual/en/class.directoryitera...
Loop through the files in a folder, output each one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question