Pagination d'un tableau MYSQL
Bonjour je me heurte à un problème :cry:
Je voudrais inserer une pagination apres 30 lignes de tableau.
Voici mon code:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| echo '<form>';
echo '<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" class="tab">
<tr><th>ID</th><th>Description</th><th>Activation</th></tr>';
$requete1=mysql_query('SELECT * FROM google_font');
while($donnees=mysql_fetch_assoc($requete1))
{ echo '
<tr>
<td>'.$donnees['id'].'</td><td>'.$donnees['description'].'</td><td><input type="checkbox"></td>
</tr>
';
}
echo '</table>'; |
Donc ce code m'affiche un tableau qui est tres looong :roll: Je voudrais faire une pagination au bout de 30lignes de tableau