Jump to content

XML to PHP Help


Bayler

Recommended Posts

XML file: http://www.xfire.com/xml/killigan1/screenshots/

 

Ive read as much as i can swallow...and have found way too many ways to parse this out to which none of i know is the best option...

So..thought id ask here!

 

I wish to take the Above XML and parse it out to display in a format like:

 

[ Game Name ]

[ List of Images matching this Game ]

 

[ Next Game Name ]

[ List of Images matching this Game ]

 

This Must work with PHP version  4.4.3 and Above... so simpleXML function wont work!

Any Suggestions ?

Link to comment
https://forums.phpfreaks.com/topic/83915-xml-to-php-help/
Share on other sites

For as long as I can remember, I always had a hard time parsing XML in php4. In fact, it was so hard for me, I'd tell people that if they didn't have php5 I wouldn't even attempt to help them. Then I found a parsing class that works almost identically to SimpleXML, but for php4.

 

http://www.criticaldevelopment.net/xml/doc.php

 

You may also find a parsing class that works well for you, but this is the one I liked best after trying out a few.

Link to comment
https://forums.phpfreaks.com/topic/83915-xml-to-php-help/#findComment-427062
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.