I have this code and I wanna display only 10 records on page. For the rest of them I wanna use a "next" link(or a previous link). Please tell me hoe can I do that.
$sql = "SELECT * FROM categorie" ; $rezultat = mysql_query($sql); $num_rows = mysql_num_rows($rezultat); while ($row=mysql_fetch_array($rezultat)) { print ' <tr><td>'.$row['nume_categorie'].'</td></tr>'; }