Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = $this->db
- ->select('COUNT(*) as POCET')
- ->from('dc_users')
- ->where('UPPER(DU_EMAIL) = UPPER(%s)', $email);
- if ($blocked == 0) {
- $query->and('DU_BLOCKED = 0');
- }
- $count = $query->fetchSingle();
Advertisement
Add Comment
Please, Sign In to add comment