prepare("SELECT * FROM game_session WHERE serverid = :serverid"); $checkQuery->execute(['serverid' => strtolower($id)]); if ($checkQuery->rowCount() > 0) { $existingRow = $checkQuery->fetch(PDO::FETCH_ASSOC); $existingId = $existingRow['serverid']; // if server found, BOOM! exit("Server found. Join Game
Details:

Server Id: ".$existingId."

"); } } ?> AfterWorld Launcher