PHP Code:
$rs=mysql_query('SELECT * FROM table_name WHERE id IN (0,1,2,3,10)');
while($row=mysql_fetch_assoc($rs)){
//do stuff
echo "At row $id<br />\n";
}
The where will cause the statement to only select rows with ids of 0,1,2,3 and 10 rows 4,5,6,7,8 and 9 are all skipped.
__________________