How to convert MySQL data objects to JSON whilst using PHP ... echo json_encode(($result->fetch_assoc())); // Parse to JSON and print.
確定! 回上一頁