convert csv file to xml
I would like to know how to conver a csv file to xml in PHP.
I have fetched some records from database and saved in a csv file. Now I want to conver this file to xml by using PHP.
Thanks a ton in advance
Re: convert csv file to xml
Download and install MiniXML, http://minixml.psychogenic.com/api.html#docfromarray create an array from the CSV file and use MiniXML to convert it into XML.
|All times are GMT +5.5. The time now is 17:23.|