Answer the question
In order to leave comments, you need to log in
Why is the Json file not being read?
Hello, such a problem.
there is a file $peer_id.json
And there is Php code[{"id":522921916,"stage":"0"}]
$info = json_decode(file_get_contents('files/'.$peer_id.'.json'));
$stage = $info->{'stage'};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question