previous and next link

From: Date: Fri, 05 Sep 2003 18:08:35 +0000
Subject: previous and next link
Groups: php.general 
Request: Send a blank email to php-general+get-161800@lists.php.net to get a copy of this message
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>'; }

« previous php.general (#161800) next »