query($query); if ($db->Errno != 0) return FALSE; return TRUE; } # build the limit sql claused used by the list page to # print n bookmarks per page. # Return " " if your db doesn't support this feature. function get_limit_sql ($offset, $limit) { if ($limit > 0) { $limit_sql = sprintf(" limit %s,%s", $offset, $limit); } else { $limit_sql = " "; } return $limit_sql; } # class constructor function bk_db_callout_class () { } } ?>