[wd_asp elements=’search’ ratio=’100%’ id=1]

Simplexml read xml file

14th November 2013

Php - Miscellaneous

php codehaven

Getting this result (called via curl placed into variable called $response)


0000Success10.18Prepay£GBP

To get just 10.10 from balance use this
$xml=simplexml_load_string($response);
echo $xml->balance;