我在 csv 中有一个文件,格式如下:
"**Table1"
"*Field1","*Field2","*Field3","*Field4"
"Data1","Data2", "Data3", "Data4"
"**Table2"
"*Field1","*Field2","*Field3","*Field4"
"Data1","Data2", "Data3", "Data4"
我希望程序可以识别表 1/ 2 并将数据上传到 mysql 预定义表。我打算使用PHP。有没有人尝试过这样做?我正在寻找一个例子和方法!谢谢。