Avatar of dmalovich
dmalovich

asked on 

I would like to get the last row of data using fgetcsv function

I'm trying to parse a cvs file and I'm using fgetcsv.  I want to put the last row into an array.

while (($data = fgetcsv($fp, 1000, ",")) !== FALSE) {

        //put last row into array

}
PHP

Avatar of undefined
Last Comment
dmalovich

8/22/2022 - Mon