0

PHP は初めてで、.xls ファイルを .csv に変換する方法がわかりません。mysql データベースを自動的に更新したいので、データを update.xls という名前のファイルにダウンロードしました。そのファイルを update.csv に変換して、PHP を介して mysql で LOAD FILE を使用できるようにします。誰でも助けてくれますか

4

1 に答える 1

0

You can open update.xls using Microsoft Execl (maybe openoffice can also do this) and then save again as csv file. You can load the file in, for example, phpmyadmin.

Natively php cannot read xls files. You need a library for that.

于 2013-05-08T10:00:57.660 に答える