How can I explode text between two tags like this
How to Retrieve the word (sitepoint)
Is it an xml file? Then take a look at simplexml.
its not possible in one query as you need a common thing to explode use php.net for proper instructions.
If that is part of an XML file, you want to use SimpleXML to parse it.
If you just have a string with that and you need the text inbetween the tag, what you are looking for is preg_match.
This topic is now closed. New replies are no longer allowed.