Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $count_users = $db->query("SELECT COUNT(`id`) FROM `users` WHERE `clan_id` = $clan_id")->result();
- $limit_users = 20;
- if ($count_users === $limit_users) {
- throw new \Exception("Clan users limit");
- }
Advertisement
Add Comment
Please, Sign In to add comment