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 Quote 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 Quote 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 Quote 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 ? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/176703-csv-files/#findComment-931654 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.