Hello, Could anyone help me work pagination into this script? <?php require("includes/connect.php"); $id = $_GET["cat"]; $selectcat = mysql_query("select title,author,description,article,category from article where category='".$id."'",$con); while (list($title,$author,$description,$article,$cat) = mysql_fetch_array($selectcat)) { print '<table width="85%" border="1">'; print '<tr><td class="viewfilestitle">Title:</td>'; print '<td class="viewfilesdetails">' . $title . '</td></tr>'; print '<tr><td class="viewfilestitle">Author:</td>'; print '<td class="viewfilesdetails">' . $author . '</td></tr>'; print '<tr><td class="viewfilestitle">Description:</td>'; print '<td class="viewfilesdetails">' . $description. '</td></tr>'; print '<tr><td class="viewfilestitle">Article:</td>'; print '<td class="viewfilesdetails"><pre>' . $article . '</pre></td></tr>'; print '<tr><td class="viewfilestitle">Category:</td>'; print '<td class="viewfilesdetails">' . $cat . '</td></tr>'; print '</table><br>'; } ?> Code (markup): I've looked at tutorials on the internet for pagination but I cant work out how to apply the same methods to the above script. Any help would be greatly appreciated. regards