K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / kelulusanbe / application / models /
server ip : 172.67.156.115

your ip : 172.69.6.3

H O M E


Filename/var/www/html/kelulusanbe/application/models/M_welcome.php
Size876
Permissionrw-r--r--
Ownerroot : root
Create time07-May-2025 20:45
Last modified07-May-2025 20:45
Last accessed07-Jul-2025 05:02
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
class M_welcome extends CI_Model{

function __construct(){
parent::__construct();
$this->load->database();
}
function V_Tampil(){
//$this->db->from('mahasiswa');


$query = $this->db->get('siswa');
return $query->result();

//$xxx = $this->db->get('siswa');
//return $xxx->result();

}


function caridata(){


$c = $this->input->POST ('cariaa');
//$this->db->like('NoPeserta', $c);
//$query = $this->db->get ('siswa');
//return $query->result();

$this->db->select('*');
$this->db->from('siswa');
$this->db->where('NoPeserta', $c);
$query = $this->db->get();
return $query->result();

//$this->db->select("*");
//$this->db->from('siswa');
//$this->db->where('NoPeserta', $c);
// $query = $this->db->get ('siswa');
//return $this->db->get();

//return $this->db->get();

}
}
?>