Created
April 16, 2013 10:21
-
-
Save rohman/5394862 to your computer and use it in GitHub Desktop.
Belajar TypeHead Bootstrap CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Tamu_model extends CI_Model | |
{ | |
function __construct() | |
{ | |
parent::__construct(); | |
} | |
function cariTamu($namaTamu, $limit) | |
{ | |
return $this->db->select('*')->from('tamu')->like('nama', $namaTamu,'both')->limit($limit)->get(); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment