$getcomics = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "ah_comics AS ah_comics LEFT JOIN " . TABLE_PREFIX . "user AS user ON (ah_comics.userid = user.userid) $userquery ORDER BY ah_comics.title LIMIT " . ($limitlower - 1) . ", $perpage"); while($comics = $db->fetch_array($getcomics))