<?php
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json");

$data = [
  [
    "id" => 1,
    "nama" => "SPPG Jakarta",
    "provinsi" => "DKI Jakarta",
    "kabupaten" => "Jakarta Selatan",
    "total_dana" => 50000000,
    "jumlah_siswa" => 1200,
    "status" => "Aktif"
  ],
  [
    "id" => 2,
    "nama" => "SPPG Medan",
    "provinsi" => "Sumatera Utara",
    "kabupaten" => "Medan",
    "total_dana" => 35000000,
    "jumlah_siswa" => 900,
    "status" => "Aktif"
  ]
];

echo json_encode($data);