How can I create multiple pages from my query result? What I mean is this. I want to select all column from a table in desending order limiting to 10 items on a page and having pages like 1,2,3,4,5 Next (just like google search result) I hope you do undertand. Please help out.