Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-25-2010, 09:44 PM   PM User | #1
dprichard
Regular Coder

 
Join Date: Jul 2004
Location: Tampa
Posts: 221
Thanks: 22
Thanked 0 Times in 0 Posts
dprichard is an unknown quantity at this point
Pull info from XML doc and match with another in PHP

I have one XML document that list clients with clientid, then another that list servers based on the client id. Is there a way in PHP to pull the one in and list the clients and then pull in the servers from the second all in one swoop. What I am doing now is loading the one, then linking to a second page and passing the clientid over to a second page and pulling in the info. I tried with simplexml_load_file and the looped through calling simplexml_load_file on the second document once per loop, but it was VERY inefficient and will bomb out when I add a third tier later on.

Any thoughts, suggestions, links to tutorials or anything like that would be greatly appreciated.
__________________
David A. Prichard

Computer Support Tampa - Computer Support Chicago - Technology Blog
dprichard is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:48 AM.


Advertisement
Log in to turn off these ads.