Answers for "how to import csv data in to array in php"

PHP
1

php read csv to array

$lines =file('CSV Address.csv');

foreach($lines as $data)
{
list($name[],$address[],$status[])
= explode(',',$data);
}
Posted by: Guest on October-30-2020

Code answers related to "how to import csv data in to array in php"

Browse Popular Code Answers by Language