rossmurphy Posted August 11, 2009 Share Posted August 11, 2009 i ahve an api call that returns XML. How can i read this into a string so that i can display the xml for debugging? Quote Link to comment https://forums.phpfreaks.com/topic/169796-reading-an-xml-file-into-a-string/ Share on other sites More sharing options...
premiso Posted August 11, 2009 Share Posted August 11, 2009 $var = xmlAPICallStringReturnFunctionHere(parameters here); Note that is not the actual code it is more like "psuedo" code, as I do not know what the api function is or what it takes. If you do, great, fill in the blanks. If not post some code for more help. Quote Link to comment https://forums.phpfreaks.com/topic/169796-reading-an-xml-file-into-a-string/#findComment-895774 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.