I have the following in a CSV file exported from Excel
Lol,Man,11
Hello,World,11
My,Name,12
Is,Epic,11
How would I parse this using PHP to an array?
Currently I am using
$line = file_get_contents("Day1.CSV");
$parsed = str_getcsv(
$line, # Input line
',', # Delimiter
'"', # Enclosure
'//' # Escape char
);
But that's not working.