Jump to content

.xls to .csv and import to database


mbrown

Recommended Posts

Here is my csv file

 

ID,DistrictTag,SerialNumber,ItemName,Type,Type1,Model,month,day,year,DateofPurchase,Grant,Building,Room,Status,Specs,WorkedOn,Surplus,
,987654321,987654321,Test Item 2,Laptop,N/A,HP,1,22,2008,1/22/2008,N/A,WASHS,203,In Use,N/A,No,No,

 

 

I am getting the following error

Invalid field count in CSV input on line 1.

 

I have the correct number of fields and what not.

 

ID is auto incrementing

Link to comment
https://forums.phpfreaks.com/topic/147309-xls-to-csv-and-import-to-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.