prepare($query3); $stmt3->execute(array( ':id' => $_SESSION['user_id'] )); $user3 = $stmt3->fetchObject(); return $user3->usertype; } } ?>