Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   convert csv file to xml (http://www.go4expert.com/forums/convert-csv-file-xml-t5997/)

aswini_1978 23Aug2007 18:24

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


pradeep 24Aug2007 11:45

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 00:39.