A
A
Andrei12432022-02-16 23:52:06
HTML
Andrei1243, 2022-02-16 23:52:06

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

1 answer(s)
S
Stalker_RED, 2022-02-17
@Stalker_RED

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 question

Ask a Question

731 491 924 answers to any question