School System Login

$stmt = $pdo->prepare(" SELECT * FROM users WHERE email = ? AND status = 'active' LIMIT 1 ");