I've been searching all over Google and cant seem to come up with the right answer yet ( I'm just probably not searching the correct terms ), I'm trying to get 25 results returned from a database each time but for example what I want to do is:

query 1 should return results 1 - 24

query 2 should return results 25 - 49 

and so on. 

What would be the best way to do this?

Thanks