while ($thread=$DB_site->fetch_array($threads)) { // and $counter++<$perpage) { $thread['movedprefix'] = ''; $thread['typeprefix'] = '';