I trying to import a excel table into a mysql database table. First thing i did was make colums up according to the colum names in the excel table, then i exported the excel document as a .csv file (comma seperated) i then went to my database and imported the excel document;
Thats when i get this error "Invalid field count in CSV input on line 1",
so i open up the .csv file and look at line 1 -
"Pcode,Locality,State,Comments,DeliveryOffice,Pres ortIndicator,ParcelZone,BSPnumber,BSPname,Category "
this is when i realise that the names in the table don't match that in database, so i then change the names so that they are the same -
"PCODE,LOCALITY,STATE,COMMENTS,DELIVERYOF,PRESORTI ND,PARCELZONE,BSPNUMBER,BSPNAME,CATEGORY"
After this i still get the same error, i then see that for the import u can specify the colum names so i do this and again i get the same error.
So what i want to know is how to fix the error???
Thanks in advanced, your help is greatly appreciated.