codice:<?php $fp = fopen("test.csv", "r"); while (($row = fgetcsv($fp, 5000)) !== FALSE) { . ...Eseguo la query... . ...verifico le informazioni... } fclose($fp); ?>
dentro $row, nel while, hai le varie informazioni...per vedere se l'ottavo elemento è pieno o vuoto...
if (strlen(trim($row[7])) > 0) { ... fai quello che ti serve ... }

Rispondi quotando