Improved result tables and added dark mode. General improvements.
This commit is contained in:
4
xmlToJson.php
Normal file → Executable file
4
xmlToJson.php
Normal file → Executable file
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
libxml_use_internal_errors(TRUE);
|
||||
$objXmlDocument = simplexml_load_file("ttime-res/Resultater.xml");
|
||||
$objXmlDocument = simplexml_load_file("resultater/Resultater.xml");
|
||||
|
||||
if ($objXmlDocument === FALSE) {
|
||||
foreach(libxml_get_errors() as $error) {
|
||||
@@ -12,4 +12,4 @@ $objJsonDocument = json_encode($objXmlDocument);
|
||||
$arrOutput = json_decode($objJsonDocument, TRUE);
|
||||
|
||||
echo $objJsonDocument;
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user