Added function to generate pagination for mysql results
Merge pull request #332 from laf/issue-laf-77

Added function to generate pagination for mysql results