Em chào anh chị ak
Em đang lỗi font chữ tiếng việt chỗ JSON_ENCODE
if (mysqli_num_rows($result) > 0) {
$response["city"] = array();
while ($row = mysqli_fetch_array($result)) {
// temp user array
$citys = array();
$citys["id"] = $row["id"];
$citys["city"] = $row["city"];
array_push($response["city"], $citys);
}
$response["success"] = 1;
**
echo json_encode($response);-> không hiện tiếng việ
t**
} else {
$response["success"] = 0;
$response["message"] = "No products found";
echo json_encode($response);
}
Anh chị giúp em với ạ

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?