I have the csv file mail.csv
that contain data as below:
type,timeLogged,t
d,2012-08-24 00:00:57+0200,2012-08-24 00:00:45+0200,noreply@news.camera-factice.com,myriam.yall34@gmail.com,
d,2012-08-24 00:00:57+0200,2012-08-24 00:00:45+0200,noreply@118-bonsplans.com,toulouse@texa.fr,
b,2012-08-24 00:00:57+0200,2012-08-22 23:59:31+0200,noreply@lemeilleur-duweb.com
d,2012-08-24 00:00:57+0200,2012-08-24 00:00:57+0200,diffusion@news.antivol-voiture.com
I want to insert all these data into mysql using php.In fact I don not know how to fix this.Anyone help me please,Many thanks,