Anonymous Anonymous - 1 year ago
372 0

With this simple example you can convert XML to a JSON array.

MySQL

PHP XML

$xml = simplexml_load_string($xml_string);
$json = json_encode($xml);
$array = json_decode($json,TRUE);
OlimpRc Автопродажа:
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download