I used Laravel excel to generate a CSV file from arrays.
The CSV file has two rows:
Row 1 has 3 columns:
One | Two | Three
Row 2 has 4 columns
One | Two | Three | Four
Problem If I open the file generated using a text editor, the output I got for the two rows is as shown below:
“One”, ”Two”, “Three”, “”
“One”, ”Two”, “Three”, “Four”
I want something like this:
“One”, ”Two”, “Three”
“One”, ”Two”, “Three”, “Four”
Please do anyone knows how to remove the extra quotes(“”) I.e the extra column added to make the first row tally with the number of column in the second row.
Thank you.