#1 My script isn't adding the quotation mark on the end of the CSV file for some reason. Its part of the $data=str_replace which I'm not able to figure out. Like a super tiny change but I'll be if I can't figure it out.
#2 My script isn't appending the CSV Import of data it says;
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"