//-------file 'siswa.php' query($sql); ?> Pilih Siswa
ID
Nama
Alamat
//------------file 'proses.php' query($sql); $row=$result->fetch_object(); $hasil=array("nama"=>$row->nama,"alamat"=>$row->alamat); echo json_encode($hasil); ?>