$i=0; if (($handle = fopen("myfile.csv", "r")) !== FALSE) { while (($cells = fgetcsv($handle, 1000, ",")) !== FALSE) { if ($i==0){// header }else{ //content } $i++; } fclose($handle); }
Articoli con tag csv
How to use fgetcsv in PHP
Get AD Users with creation Date
Get-ADUser -Filter * -SearchBase "DC=domain,DC=local" -Properties whenCreated | export-csv -Path c:\path\to\file.csv
Recent Comments