Jump to content

XML feed - display results by keyword


unerd.co.uk

Recommended Posts

Hi all, i desperately need your help!

 

I am looking at this feed http://www.sportbet.com/BJFeed/xmlscores.aspx however the results returned are very mixed. I would like to break down the results to display by a certain IdLeague or IdSport. However these are only defined within the results and not the xml file structure. Basically is it possible for me to feed in results by a certain result e.g. returning results for IdLeague 4 etc?

 

Thank you for your time,

 

Link to comment
Share on other sites

Thank you Daniel!

 

That's great, but how would i then break it down to pull out cerain results

at the moment i get - SimpleXMLElement Object ( [VisitorTeam] => FLAMENGO [HomeTeam] => VOLTA REDONDA [VisitorNss] => 169 [HomeNss] => 170 [idLeague] => 380 [idSport] => SOC [VisitorScore] => 2 [HomeScore] => 1 [GameDate] => 2/7/2008 4:30:00 PM )

 

How would i pick and choose which elements are displayed and also how would i stop the element name (e.g. VisitorTeam) showing?

 

Thanks again,

 

Dave

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.