joshgarrod Posted July 24, 2007 Share Posted July 24, 2007 HI GUYS, I HAVE .CSV FILE CONTAINING DATA TO ADD INTO MY TABLE IN MY DATABASE, HOW EVER I HAVE NEVER DONE IT BEFORE AND IT KEEPS GIVING ME THE ERROR Error Invalid field count in CSV input on line 1. WHAT AM I DOING WRONG HERE. HERE IS THE LINK TO MY .CSV FILE SOME PLEASE HELP http://www.stowmarketcaravans.co.uk/stock.csv Quote Link to comment Share on other sites More sharing options...
piznac Posted July 24, 2007 Share Posted July 24, 2007 The field count in your csv does not match up to the database field count. It might not be putting a comma in the last field. Quote Link to comment Share on other sites More sharing options...
joshgarrod Posted July 24, 2007 Author Share Posted July 24, 2007 ok so what do i need to do to solve this Quote Link to comment Share on other sites More sharing options...
piznac Posted July 24, 2007 Share Posted July 24, 2007 you would need to compare the number of fields in both the csv and the db. Make sure they are exact. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.