$row[0] ]; } fclose($handle); } header('Content-Type: application/json'); echo json_encode($data); ?>