$request = $mysqli->prepare("SELECT `name` FROM `category` WHERE `id` = ?");
$request->bind_param('i', $_GET['category']);
$request->bind_result($title_name);
$request->execute();
while ($request->fetch()) {
$title = $title_name.' — Решебник онлайн';
}
$request->close();
PHP изучал, уже надоел.