@FAIZALTKL check if any rows are not blank in your file. Try to create new file and do fresh upload again. i guess you are doing like this
$data = Excel::load($filename, function($reader) {})->get();
$totalRows = $data->count();
I am using Laravel Maatwebsite Excel library to upload excel contents to table, in my excel i have 2 rows but the count gives 4 , i am unable to upload excel file contents, can anyone help me please
Please or to participate in this conversation.