as i send the query, the query goes into a loop, after each request for a page the loop grows

view :
echo '<table id="pagination">';
echo '<tr>';
echo '<td><a href="#" id="prec ">Prec</a></td>';
for($i=$tab;$i<=$limitepage;$i++){
echo '<td><a href="#">'.$i.'</a></td>';
}
echo '<td><a href="#" id="suiv">Suiv</a></td>';
echo '</tr>';
echo '</table>';
script:
$("#pagination a").click(function(){
var stk=($(this).text())-1;
if(stk==0){
$("#ListeAdmin").load('../Controller/groupe.php?task=listeTableau&page=0');
return false;
}else if(stk>0){
var debut=stk*3
$("#ListeAdmin").load('../Controller/groupe.php?task=listeTableau&page='+ debut );
return false;
}
});
please help me
