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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.