Duquxml
Will anyone read this XML file in PHP?
Help me.
------to solve the idea----------------------
$s =<<< TXT
TXT;
$x = Simplexml_load_string ("
$s
");
Print_r ($x);
SimpleXMLElement Object
(
[row] = = Array
(
[0] = = simplexmlelement Object
(
[@attributes] = = Array
(
[DataType] = TR
[ID] = 07a72498325c0b0de050c7707961fcf8
[Agentcode] = 253001001001001
[Transferid] = c81_agin3439952663804
[Tradeno] = 141112789497906
[Platformtype] = AGIN
[PlayerName] = c81agin79514
[TransferType] = in
[Transferamount] = 100
[Previousamount] = 0
[Currentamount] = 100
[Currency] = CNY
[ExchangeRate] = 1
[IP] = 0
[flag] = 0
[CreationTime] = 2014-11-12 06:08:12
[Gamecode] =
)
)
[1] = = SimpleXMLElement Object
(
[@attributes] = = Array
(
[DataType] = TR
[ID] = 07a75ad0a35e1114e050c7707961ff13
[Agentcode] = 253001001001001
[Transferid] = c81_agin3439952663804
[Tradeno] = 141112789497906
[Platformtype] = AGIN
[PlayerName] = c81agin79514
[TransferType] = in
[Transferamount] = 100
[Previousamount] = 0
[Currentamount] = 100
[Currency] = CNY
[ExchangeRate] = 1
[IP] = 0
[flag] = 0
[CreationTime] = 2014-11-12 06:08:12
[Gamecode] =
)
)
[2] = = SimpleXMLElement Object
(
[@attributes] = = Array
(
[DataType] = TR
[ID] = 07a72498325d0b0de050c7707961fcf8
[Agentcode] = 253001001001001
[Transferid] = c81_agin3439952663804
[Tradeno] = 141112789497906
[Platformtype] = AGIN
[PlayerName] = c81agin79514
[TransferType] = in
[Transferamount] = 100
[Previousamount] = 0
[Currentamount] = 100
[Currency] = CNY
[ExchangeRate] = 1
[IP] = 0
[flag] = 0
[CreationTime] = 2014-11-12 06:08:12
[Gamecode] =
)
)
[3] = = SimpleXMLElement Object
(
[@attributes] = = Array
(
[DataType] = TR
[ID] = 07a75ad0a3921114e050c7707961ff13
[Agentcode] = 253001001001001
[Transferid] = c81_agin3439952663804
[Tradeno] = 141112789497906
[Platformtype] = AGIN
[PlayerName] = c81agin79514
[TransferType] = in
[Transferamount] = 100
[Previousamount] = 0
[Currentamount] = 100
[Currency] = CNY
[ExchangeRate] = 1
[IP] = 0
[flag] = 0
[CreationTime] = 2014-11-12 06:08:12
[Gamecode] =
)
)
)
)