create xml
$country="Australia";
$va=wddx_serialize_value($country);
$data="data.xml";
$fp=fopen($data, "w+") or die("can't open file");
fwrite($fp, $va, strlen($va));
fclose($fp);
我怎样才能找回价值"澳大利亚"通过读取xml文件?感谢
答案 0 :(得分:0)
$va = file_get_contents("data.xml");
$country = wddx_deserialize($va);