Ah, I forgot about that! Sorry!
PHP Code:
$aid = $stmt->fetchColumn();
$adopt = new OwnedAdoptable($aid);
$cell = new ArrayList;
$cell->add(new Comment("<a href='/myadopts/manage/{$aid}'><img src='{$adopt->getImage()}'></a>"));
$cell->add(new Comment("<b>Name:</b>{$adopt->getName()}"));
$cell->add(new Comment("<b>Gender:</b>{$adopt->getGender()}"));
$cell->add(new Comment("<b>Clicks:</b>{$adopt->getTotalClicks()}"));