Problem løst
$result = $mysql->query($sql);
while($row = mysql_fetch_assoc($result)) {
$r[] = array_map('utf8_encode', $row);
}
echo json_encode($r);
Tak
Problem løst
$result = $mysql->query($sql);
while($row = mysql_fetch_assoc($result)) {
$r[] = array_map('utf8_encode', $row);
}
echo json_encode($r);
Tak