dflow Posted July 20, 2011 Share Posted July 20, 2011 i need to echo the following <shortDescription> <![CDATA[text]]> </shortDescription> //i call it from an array $hotel->shortDescription; need to echo it thanks Quote Link to comment https://forums.phpfreaks.com/topic/242425-echo-cdata-from-xml/ Share on other sites More sharing options...
dflow Posted July 21, 2011 Author Share Posted July 21, 2011 ok got echoed but it isnt megred into as a text node im using LIBXML_NOCDATA Quote Link to comment https://forums.phpfreaks.com/topic/242425-echo-cdata-from-xml/#findComment-1245703 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.