Custom Plugin For Converting CSV To MySQL

To start with, you need to fix the define of CSV_PATH:

define('CSV_PATH',dirname(__FILE__));

as without that, $handle will be false – no file opened or data read.

…then before you run it take another look becaue $col4 and $col5 are not set anywhere either…