ejaboneta Posted October 6, 2009 Share Posted October 6, 2009 So thanks to GoDaddys restrictions, I cant use mysql "LOAD DATA INFILE". My best solution is to use php to parse the csv files and insert them into the database. I'm not an "expert" so I don't know exactly how to do this. I'm sure I can find out but I wanted to ask first if there was an easier way or if anyone knows of a good guide to parsing or working with CSVs. Thanks Link to comment https://forums.phpfreaks.com/topic/176703-csv-files/ Share on other sites More sharing options...
PFMaBiSmAd Posted October 6, 2009 Share Posted October 6, 2009 So, did you try - LOAD DATA LOCAL INFILE Link to comment https://forums.phpfreaks.com/topic/176703-csv-files/#findComment-931616 Share on other sites More sharing options...
ejaboneta Posted October 6, 2009 Author Share Posted October 6, 2009 The used command is not allowed with this MySQL version Link to comment https://forums.phpfreaks.com/topic/176703-csv-files/#findComment-931624 Share on other sites More sharing options...
Mchl Posted October 6, 2009 Share Posted October 6, 2009 fgetcsv ? Link to comment https://forums.phpfreaks.com/topic/176703-csv-files/#findComment-931625 Share on other sites More sharing options...
ejaboneta Posted October 6, 2009 Author Share Posted October 6, 2009 fgetcsv ? thats pretty much the plan so far. I think I got it. Thanks. Link to comment https://forums.phpfreaks.com/topic/176703-csv-files/#findComment-931654 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.