My code runs error free but no data actually makes it into the database? -> http://pastie.org/4333923 and it creates a second column called Array (which isn't correct). :(
I can see the temporary file being created but I can't see what I am doing wrong. The second column is a red flag but I can't see what?