How do you limit results in mysql and pagination in php?