PHP Script to convert .CSV files to .XML

后端 未结 4 1959
抹茶落季
抹茶落季 2021-01-02 08:30

Just wondering if anyone can point me in the direction of some tips / a script that will help me create an XML from an original CSV File, using PHP.

Cheers

4条回答
  •  醉话见心
    2021-01-02 08:49

    Sorry to bring up an old thread but I tried this script and I'm getting a DOM Exception error

    The headers of our CSV Files are display_name office_number mobile_number and the error I'm receiving is DOMDocument->createElement('\xEF\xBB\xBFdisplay_name') #1 {main}

提交回复
热议问题