Simple scenario: on my search query, i want to grant my users to hit the next button and previous buttons, so I have a start and limit variable on my search
$query=mysql_query("select * from search limit $start, $limit");
problem is, I have a varying rate, they can look at it by 20, 40, or 60, which means that limit need to be defined like so
$limit = ($start + $rate); problem is this always returns more fields than I want. how can i do this