How can I upload individual CSV rows into different tables in PHP?
问题 I'm trying to figure out the best way to do this. I have a database with 5 tables around 5 records/rows in MySQL and I need to update it frequently. The problem is the file I upload will be csv file. Also I want each lines to go into 5 different tables.,I'm trying to updated 'where' there is a unique id. uid="001"; What is the best way to achieve this? I've been trying since morning, and I only know how to update one table alone at a time. Your suggestions is most appreciated. Thanks. sample