hi, roders22, it does't , the code I have posted just is a part of it. You should download a copy of phpbb to checkout how it is called.
Also I can't post full code althought it is under GPL. So, checkout again to see which file this function is called from. I have updated it to show partial code.
Be sure ths vars are correctly setup
$base_url => the base url of you page
$num_items => total number of items
$per_page => items per page
$start_item => this should be a get varaible and should set as this way
- Code: Select all
$start_item = isset($_GET['start']) ? $_GET['start'] : 0;
$start_item = intval($start_item) ? intval($start_item) : 0;
hope this help