search

Home  >  Q&A  >  body text

How to import PHPExcel table into database

我要实现PHPExcel表格导入数据库怎么来实现 
有没有大佬给一个相关的教程 
在找教程的时候找了很多都不能运用到 
求大佬给个教程

手机用户1616641001手机用户16166410011358 days ago977

reply all(1)I'll reply

  • 愈望愈无望

    愈望愈无望2021-04-09 10:12:11

    In the first row of excel, write every field corresponding to the database except id. This may result in the inability to know the table name. You can use table.column to get the data table name, and finally read it in the program. Just distinguish the table name and fields, and then import them in a loop.

    reply
    0
  • Cancelreply