I am trying to insert a .txt file (converted to csv) into the database using the following:
while (($data = fgetcsv($prop, 1000, ",")) !== FALSE) {
When i try to do it with phpmyadmin with the file themselves it works, however the text does contain "," so i think it might be trying to read them as delimiters and throwing the results out. Can anyone help please?
the error is - 1. placing thousands of empty results 2. not placing the results in correct fields
thanks