ProXy_ Posted October 17, 2009 Share Posted October 17, 2009 Hello, i'm trying to search an XML file and pull up multiple results. I can manage to get one result but not all of them. The XML format: <hits id="1"> <name>cleland.Gor.part1.rar</name> <extension>rar</extension> <size>100MB</size> <description>w00t this is the shizzle</description> <address>http://www.cleland.com</address> <details>http://www.cleland.html</details> <tags>XXXLXXXL|Gor</tags> <rate>0.00</rate> <added>2009-07-17 07:49:29</added> <related>661f53bcf6cb832c03e9</related> <password></password> </hits> Quote Link to comment https://forums.phpfreaks.com/topic/177988-search-through-xml/ Share on other sites More sharing options...
dreamwest Posted October 17, 2009 Share Posted October 17, 2009 So your sying you can only get one hits block from a larger file or loop?? If so youll need to loop the result using while or foreach Quote Link to comment https://forums.phpfreaks.com/topic/177988-search-through-xml/#findComment-938470 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.