Are you sure that the file is uploaded completely? #### Are you checking for database errors? #### Have you read Before asking a database related question ...? #### Did you try that SQL statement outside your script? I mean, manually, from the mysql monitor? #### Does the table structure correspond to the CVS structure?