This commit is contained in:
gabrielkheisa
2022-11-04 22:42:29 +07:00
parent b48dcf0737
commit d1a686dde7
3 changed files with 110 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ fclose($myfile);
$pieces = explode("=", $teks);
$marks = array("price"=>$pieces[0], "price_change"=>$pieces[1], "change"=>$pieces[2], "last_update"=>$pieces[3],"server_update"=>$pieces[4], "symbol"=>$pieces[5], "color"=>$pieces[6]);
$marks = array("price"=>$pieces[0], "price_change"=>$pieces[1], "change"=>$pieces[2], "last_update"=>$pieces[3],"server_update"=>$pieces[4], "color"=>$pieces[5], "symbol"=>$pieces[6]);
echo json_encode($marks, JSON_PRETTY_PRINT);
}