Home >Backend Development >PHP Tutorial >CodeIgniter3.1 uses the CSV batch import function to write data to the database
As the title
The website is an e-commerce shopping website. To operate the products on the shelves, you need to do a batch import function. Write all the fields in the database in the table, and then the program reads the value in the table and inserts it into the corresponding table;
Has anyone done a similar function?
As the title
The website is an e-commerce shopping website. To operate the products on the shelves, you need to do a batch import function. Write all the fields in the database in the table, and then the program reads the value in the table and inserts it into the corresponding table;
Has anyone done a similar function?
Just use phpexcel directly, it is not recommended to use csv