mpsn Posted October 31, 2011 Share Posted October 31, 2011 Hi, for my purposes, I can only use core PHP function (no PEAR for eg) to convert SQL to XML, should I convert SQL to csv first, and then use php's filesystem to read each line to extract and store as xml nodes OR does someone know easier/better method? Any help much appreciated, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/250139-regarding-sql-to-xml-conversion/ Share on other sites More sharing options...
trq Posted October 31, 2011 Share Posted October 31, 2011 Generally php is used to output data stored in a database in nicely formatted HTML. Outputting it to XML is no different. Where exactly are you stuck? Post your code. Quote Link to comment https://forums.phpfreaks.com/topic/250139-regarding-sql-to-xml-conversion/#findComment-1283568 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.