Skip to content

Instantly share code, notes, and snippets.

@egodasa
Created April 26, 2018 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egodasa/d288770ea6ae0115213c4feff8d8018f to your computer and use it in GitHub Desktop.
Save egodasa/d288770ea6ae0115213c4feff8d8018f to your computer and use it in GitHub Desktop.
Perbaikan bug #956
function list_penduduk_status_dasar($status_dasar=1){
$sql = "SELECT id, nik, nama, CONCAT('Alamat : ', nik) AS alamat FROM tweb_penduduk WHERE status_dasar = ?";
$data = $this->db->query($sql, array($status_dasar))->result_array();
return $data;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment