Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php open csv

    $csvFile = file('../somefile.csv');
    $data = [];
    foreach ($csvFile as $line) {
        $data[] = str_getcsv($line);
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #open #csv
ADD COMMENT
Topic
Name
3+5 =