Use MySQL "LIMIT" command. First number is starting point and second is max results.
[php]
<?php
$id = '6';
...
$query = 'SELECT * FROM `my_table` LIMIT '. $id. ', 200';
$result = mysql_query($query) or die('Query failed: ' . mysql_error());
...
?>
[/php]
|