Ciao.

Devo importare una serie di data da un file csv.

Sono parecchi campi.

Succede che mi importa solo la prima riga.

ecco la query:

codice:
$query = "load data local infile '$appoggio_tevaf00f' into table $nome_tabella fields terminated by ';'
	                                                                (tenraz,
	                                                                teannu,
	                                                                terial,
	                                                                terife,
	                                                                tedaor,
	                                                                tedric,
	                                                                tedaco,
	                                                                tecocf,
	                                                                teclsp,
	                                                                tevsri,
	                                                                tedvsr,
	                                                                tescfa,
	                                                                tesctb,
	                                                                tepepr,
	                                                                tepep2,
	                                                                teagen,
	                                                                teage2,
	                                                                tezona,
	                                                                telist,
	                                                                tecatc,
	                                                                teasfi,
	                                                                tecopa,
	                                                                tedtpa,
	                                                                tespin,
	                                                                teboef,
	                                                                tecabi,
	                                                                teccab,
	                                                                teling,
	                                                                tevalu,
	                                                                tecamb,
	                                                                tecamd,
	                                                                tecafi,
	                                                                tedcaf,
	                                                                temagc,
	                                                                temala,
                                                                    teimba,
	                                                                tesped,
	                                                                tecons,
	                                                                tevet1,
	                                                                tevet2,
	                                                                tegchi,
	                                                                tegcon,
	                                                                tecoms,
	                                                                teceri,
	                                                                tecoll,
	                                                                tepeso,
	                                                                tepesn,
	                                                                tenufa,
	                                                                tedafa,
	                                                                tes101,
	                                                                tes102,
	                                                                tes103,
	                                                                tes104,
	                                                                tes105,
	                                                                tes106,
	                                                                tes108,
	                                                                tes111,
	                                                                tes201,
	                                                                teprio,
	                                                                teragg,
	                                                                tedatc,
	                                                                tedatu,
	                                                                teidut,
	                                                                teidws,
	                                                                teragr,
                                                                    teragf,
	                                                                teordi,
	                                                                terord,
	                                                                tecpfa,
	                                                                tefcpb,
	                                                                tedttr,
	                                                                temerl,
	                                                                tetosc,
	                                                                tescar,
	                                                                tesccl,
	                                                                tescmo,
	                                                                teprag,
	                                                                teprca,
	                                                                teneme,
	                                                                teimp1,
	                                                                teali1,
	                                                                teims1,
	                                                                teimp2,
	                                                                teali2,
	                                                                teims2,
	                                                                teimp3,
	                                                                teali3,
	                                                                teims3,
	                                                                teimp4,
	                                                                teali4,
	                                                                teims4,
	                                                                teimp5,
	                                                                teali5,
	                                                                teims5,
	                                                                teimpo,
	                                                                teimps,
	                                                                tetofa,
	                                                                terat1,
	                                                                terat2,
	                                                                terat3,
	                                                                terat4,
	                                                                terat5,
                                                                    tedts1,
                                                                    tedts2,
                                                                    tedts3,
                                                                    tedts4,
                                                                    tedts5)";
Secondo voi qual'è il problema?
ho ricontrollato 100 volte. la prima riga, l'unica che importa è impaginata bene, ma poi si ferma li.

Grazie dell'aiuto,
Alessandro