Results 1 to 3 of 3
Dec 12, 2010, 14:34 #1
- Join Date
- Jun 2003
- 0 Post(s)
- 0 Thread(s)
Basic problems extracting data from PHP feeds
I say 'basic' because I'm sure this is a simple issue, but I'm just not quite sure where I'm going wrong.
Anyway, I'm trying to take data out of a feed that is formatted like this:
<progressive_jackpots casino="name"> <jackpot> <game>Data</game> <amount>Data</amount> </jackpot> <jackpot> <game>Data</game> <amount>Data</amount> </jackpot> </progressive_jackpots>
$game = $progressive_jackpots->jackpot->game;
$amount = $progressive_jackpots->jackpot->amount;
Can someone point out where I'm going wrong please?
Thanks a lot