This is what I mean

$split = new zcdSplitPageResults($sql, 10, 'products_id', 'rpage');

When I use this, the next link will show page instead rpage.