function select($table, $select, $where, $group, $order = array(), $limit = 1, $page = 0, $print = false) { global $connection; $connection->next = $_GET["next"]; $return = parent::select($table, $select, $where, $group, $order, $limit, $page, $print); $connection->next = 0; return $return; }