Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Tommaso Vietina
Added: Sep 4, 2018 8:59 AM
Views: 0
Tags: no tags
Elaborazione file csv
  1. $csv = array_map('str_getcsv', file('file.csv'));
  2.  
  3. for ($index = 1; $index < count($csv); $index++) {
  4.  
  5. //elaborazione
  6.  
  7. }