How to improve the speed of a for loop in PHP?

I have a CSV file with different lines: ;0;1;0;4;5;M;468468;A1101;0090 0;1;0;4;5;M;468468;A1108;0090 And in a folder of photos that must have the naming format “A1101_0090-1.JPG” for the …

How to display line by line a csv file in PHP with a particular structure? [closed]

I have this code that reads a csv file and displays it in this form : REFERENCE;COLOR;QUANTITY;TURNOVER;SELL TROUGH;COMMENT GJK0C9;8952;3;90;3%;Pack S GJKCS4;399;2;19;10%;Windows GSIJS5;9224;…

Getting every 7th element from array while echoing a table

I’m getting the data I need from fgetcsv and store them into $data. It contains a table with a header row and lot’s of info. Every 7th column is the path to where the file is stored. I’ve already …