Advertisement
yusufmukharom

m_login

Mar 28th, 2020
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. <?php
  2. class Mlogin extends CI_Model{
  3.     function cekadmin($u,$p){
  4.         $hasil=$this->db->query("select*from tbl_user where user_username='$u'and user_password=md5('$p')");
  5.         return $hasil;
  6.     }
  7.  
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement