]> matita.cs.unibo.it Git - logicplayer.git/blob - public_html/xmlPharse.php
new initial commit
[logicplayer.git] / public_html / xmlPharse.php
1 <?php
2         include 'util.php';
3         $xml = simplexml_load_file('/projects/logicplayer/Server/server/tesi/src/com/company/esercizi.xml');
4         $esercizi;
5         foreach($xml->esercizio as $esercizio)
6         {
7                 $esercizi['esercizi'][]="$esercizio";
8         }
9         $return_json=__json_encode($esercizi);
10         echo $return_json;
11 ?>