I am trying to read a file - get the value from field1 and query the db. This part works. But some records are not found in db, and some records in csv are blank.
Problem is: instead of skipping the blanks or records not found, script uses last found relProductID when inserting in db.
Please...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.