Here is the code
SELECT username,count(username) FROM users WHERE status = '1' // $vuser to get the verified user only (it's the main query)
SELECT username FROM banned_users WHERE username = $vuser // if yes $bad_user is true else false
Does it possible to only select/count verified users who doesn't exist in the banned_users with one sql query ?
Any idea please ?