Codice PHP:
<?php

function lingueDD($limit) {
       
    
$dataPage 1;
    
$counter 1;
    
    
$str '<select name="listingMenu" class="textFields" onchange="jumpMenu(\'parent\',this,0)">'."\n";
    
    for(
$rows 1$rows <= 200$rows++) {
        
$str .= "\t".'<option value="index.php?modID=87&compID=104&id='.$rows['IDLingue'].'&page='.$dataPage.'#'.$rows.'">[['.$rows.']]</option>'."\n";

        if(
$counter == $limit ){
            
$dataPage++;
            
$counter 0;
            }

        
$counter++;
        }    

    
$str .= "</select>";
    return 
$str;
}

$prova lingueDD(5);

echo 
$prova;

?>
guarda, questo è il codice che ho fatto io, ovviamente togliendo la parte di DB che non posso replicare ($rows stampa il numero che si crea nel "for", giusto per avere un riferimento)
testalo su un browser e vedi se fa quello che ti occorre...