I have a script(attached) which import data from csv file to wordpress. But it seems there is some problem. It import the data to the wrong field. I want to fix this.
I want to add some error checking feature to this script. The script doesn't have any error checking feature.