UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:54:27 +0000 (15:54 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:54:27 +0000 (15:54 +0800)
UpdateCurrencyRate.php

index 5bf351f..d59fa09 100644 (file)
@@ -84,7 +84,9 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         $elements = $xpath->query("table/tr/td/pre", $ts->item(0));
         
-        print_r($elements->item(0)->nodeValue);
+        $rate = str_getcsv($elements->item(0)->nodeValue);
+        
+        print_r($rate);exit;
         
     }