header('Content-type: application/json');. 2. echo json_encode($array);. php return json data. php by Grepper on Oct 30 2019 Donate Comment.
確定! 回上一頁