voila je voudrait pourvoir afficher seulement 20 résulats par page voici mon code
merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 <? $minscores=$gscores-25000; if($minscores<5000) { $minscores=5000; } $recup = "SELECT * FROM general WHERE scores >= $minscores ORDER BY scores DESC " ; $envoi = mysql_query($recup); $i = 1; while($tableau = mysql_fetch_array($envoi)) { $pseudovic = $tableau['pseudo']; echo " <table border='3' cellpadding='0' width='581' bgcolor='#996633'> <tr> <td width='30'>$i</td> <td width='320'><a href='combats.php?ciblevic=$pseudovic'>$pseudovic</a></td> <td width='146'>".$tableau["scores"]."</td> <td width='63'>$distancedelacible</td> </tr> </table> "; $i++; } ?>
Partager