ajicles Posted August 8, 2010 Share Posted August 8, 2010 I need a little bit of help. I have a problem in which I need to read a file using fopen then open another file and look for a match and then take the information from both and enter it in a database then loop like 1000-2000 times. EG: 8;"zip";"File1.zip";"post-36-10839578260.ibf";"318";"7129";"8cc3bac5f531206b9ca0414d08430b1e";"3485" 27;"zip";"File2.zip";"post-40-10840088850.ibf";"222";"7162";"6af0e0d5798485656a2fd78d75a86e6d";"60984" and find the matching text in another csv file. Also, there is like 1000+ lines. The easy think I could think of is to parse the information and put it into a table and search the table.. Link to comment https://forums.phpfreaks.com/topic/210154-csv-parser/ Share on other sites More sharing options...
Mchl Posted August 8, 2010 Share Posted August 8, 2010 Load both files into database and do comparing using SQL features. Link to comment https://forums.phpfreaks.com/topic/210154-csv-parser/#findComment-1096724 Share on other sites More sharing options...
ajicles Posted August 8, 2010 Author Share Posted August 8, 2010 Damn... I imported and realized that there are quotes inside of quotes 50% was errors. Link to comment https://forums.phpfreaks.com/topic/210154-csv-parser/#findComment-1096779 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.