demo transaksi
This commit is contained in:
@@ -15,6 +15,16 @@ class Merchantapi_model extends CI_model
|
||||
}
|
||||
}
|
||||
|
||||
public function check_banned_by_email($email)
|
||||
{
|
||||
$stat = $this->db->query("SELECT id_mitra FROM mitra WHERE status_mitra='3' AND email_mitra='$email'");
|
||||
if ($stat->num_rows() == 1) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function check_exist($email, $phone)
|
||||
{
|
||||
$cek = $this->db->query("SELECT id_mitra FROM mitra where email_mitra = '$email' AND telepon_mitra='$phone'");
|
||||
|
||||
Reference in New Issue
Block a user