dennismonsewicz Posted February 9, 2010 Share Posted February 9, 2010 I am getting the following error in my code: Premature end of file. [simplexml_load_string] My code posts to this page and returns results from a parsed XML string... I have never seen this error before... any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/191540-simplexml_load_string-problems/ Share on other sites More sharing options...
salathe Posted February 10, 2010 Share Posted February 10, 2010 The error is quite clear (if concise). The XML document ended prematurely, meaning that the parser was not expecting the end of the file to be at that point. Quote Link to comment https://forums.phpfreaks.com/topic/191540-simplexml_load_string-problems/#findComment-1009956 Share on other sites More sharing options...
dennismonsewicz Posted February 10, 2010 Author Share Posted February 10, 2010 Sorry... my question would be more along the lines of what could cause such an error? Quote Link to comment https://forums.phpfreaks.com/topic/191540-simplexml_load_string-problems/#findComment-1010084 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.