$thisadopt = mysql_fetch_array($result);
$stmt = $GLOBALS['adopts']->query($query);$row = $stmt->fetch(PDO::FETCH_ASSOC);