0
SimpleXMLElement Object ( 
  [results] => 2 
  [total_results] => 2 
  [plans] => SimpleXMLElement Object ( [plan] => Array ( [0] => SimpleXMLElement Object ( [id] => 1014 [type] => paid [name] => Silver [amount] => 1000.00 [interval] => 30 [notification_url] => http://www.google.com [free_trial] => 0 [occurrences] => 1 [num_customers] => 0 [status] => active ) [1] => SimpleXMLElement Object ( [id] => 1013 [type] => paid [name] => Gold [amount] => 500.00 [interval] => 30 [notification_url] => http://www.movebyu.com/ExpressEngine/index.php/?ACT=21 [free_trial] => 0 [occurrences] => 1 [num_customers] => 1 [status] => active ) ) ) 
),

これらから計画の値、金額を取得する方法はありますか?

4

1 に答える 1

0

XPath経由

http://php.net/manual/en/simplexmlelement.xpath.php

于 2012-08-02T09:46:13.530 に答える