PHP Programming Request

With the help of this community, I recently solved some problems with PHPExcel by reading multiple files through foreach()

. Now it seems like I have some logic problems .

I am reading some excel files and extracting some data from them. These data are students. You can check out the slightly modified code (I did not paste it here due to quoting issues). $filelist

- an array with the names of the files available in the $folder

ones I selected.

Now, when the first and fourth result show me the values ​​of their respective files, all other results fail (I've already tried 24 files). They show me the results from the first file.

What do you think might happen here?

I guess this is a problem with the way I do it, but I cannot figure out the reason.

Thank you in advance.

PS: If you need any further details, please let me know. Thanks.

+2


a source to share


1 answer


It must be something in the files. I had to redo all the files into one file with multiple sheets and the program now works as intended.



0


a source







All Articles