[eluser]TheFuzzy0ne[/eluser]
Make sure you're discarding the first row before you enter your loop.
As for error checking, so long as you know how many columns you're expecting, you can simply check each row using count() to make sure it has that number of columns. If it doesn't, it can show you an error that outputs the row, so you know where the problem is.