Hi I just want to get an idea on how I can do this.
First. I have a CSV file with links.
Second. I made a code so that all those links are put in one array called $data[]
.
Third. Now I can Access all the links using the $data[]
variable.
Question. How can I make a for loop wherein it opens all the links one by one?
Note. (the links i have, when opened through the browser automatically downloads an image. So I just really need to open each link in the for loop)
I've tried putting it on <a href="$data[]" download>download</a>
but i have to click each button just to download the files. Any idea would be a great help thanks! :)