Jump to content

Simple CSV import to MySQL


johnsmith153

Recommended Posts

I am simply importing a CSV file to MySQL.

 

Somebody has given me a CSV file and imagine fields are Name and Age it is like this:

 

jim-brown,32

dave-smith, 25

bob-roberts,19

 

...surely it would be easier to do

 

"Jim Brown", 32

"Dave Smith", 25

"Bob Roberts", 19

 

..or am I missing something, would these be capitalised and the dash removed on import??

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/243497-simple-csv-import-to-mysql/
Share on other sites

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.