Webservice sederhana untuk keperluan pembelajaran pemrograman webservice di ITB STIKOM Bali, MK Perancangan Web dan Pemrograman Web.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 regels
261 B

3 jaren geleden
  1. <?php
  2. require_once 'library.php';
  3. $dokter = [];
  4. if(isset($_GET['param'])) {
  5. $id_poliklinik = addslashes($_GET['param']);
  6. $dokter = get_all("dokter", "nama", true, "id_poliklinik='$id_poliklinik'");
  7. }
  8. if($dokter) resp_success($dokter);
  9. else resp_failed();