0

I have over 60 images for my website's gallery. I would like the website to read the image names from a csv file rather than writing all the code by hand. Is that possible? If yes, should I use PHP or Javascript to do that?.

Mikxlvj
  • 5
  • 1
  • 3
    _Is that possible?..._ Yes! _should I use PHP or Javascript..._ Pick the one which works fine for you – B001ᛦ May 08 '19 at 10:31

2 Answers2

0

Welcome to stack overflow,

You can use PHP to read the csv file. you can refer below link.

How to parse a CSV file using PHP

Vikas Sonichya
  • 125
  • 1
  • 6
0

you can use python to read the csv and can use exec function to include it in php page

itsvinit
  • 73
  • 2
  • 8