Jump to content

Ignore comma in csv file before import to mysql database


candice

Recommended Posts

Hi all, I current have a csv file with some rows of data containing commas in between the data. I need help in finding out how to ignore the commas in the csv file, because mysql is reading the commas as a field separator. I have tried things like str_replace etc, but it doesnt seem to work. Can anyone help me?

 

 

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.