Previous or Next? Paginating Records with PHP, part 4 (
Page 1 of 5 ) In the fourth and final article in our series about paginating records with PHP, we will look at the source code for the "pager" PHP class we developed in part three, and show several examples to demonstrate possible uses in production environments.Introduction
Welcome to the final part of the series "Previous or Next? Paginating Records with PHP." Over the previous articles, we addressed a common issue involved with Web applications: record paging. From the very beginning, we provided a friendly introduction to solving paging problems, branching out to different approaches. Starting with a basic procedural solution, then moving on to an object-oriented implementation, hopefully we offered in-depth coverage for the subject.
In the third part of the series, our best efforts were put into developing a "Pager" PHP class. Aimed specifically at paginating MySQL records, it offers a great degree of flexibility for controlling the look of generated output.
Finally, in this last article, we'll take a quick look at the class' source code, and head in a practical direction, developing several step-by-step examples to demonstrate possible uses in production environments.
With the preliminaries out of the way, let's put our hands on the code and start paging records!
| | Discuss Previous or Next? Paginating Records with PHP, part 4 | | | | | | | The final part of the series shows several examples to use the paging class with a... | | | | | | I really wish these articles had come out two months ago as it would have saved me a... | | | | | | Hello Frank,
Thank you for the compliments. I'm glad to see that this series has... | | | | | | It appears that you have to execute your query twice. Once, to get the number of... | | | | | | The query is run twice, so you're correct. Of course, in the situation where... | | | | | | First, thanks for your great series of articles. I am not a programmer, but I've... | | | | | | Hello Allen,
Thanks for the compliments about my articles. With reference to your... | | | | | | Thanks for your suggestions. I figured it out. | | | | | | I'm highly satisfied to hear about it. Thanks for your useful... | | | | | | Hi,
Can I ask you another question? I have a case where my query contains a... | | | | | | Hi Allen,
There are many possible solutions for your case. You're having that... | | | | | | Thanks again for all your help with this. It's taken me a couple of days to reply... | | | | | | Hi Allen,
I'm glad to hear that you got the script to work. About your question... | | | | | | Hello,
I really like this tutorial it is sort of a smaller version of a templating... | | | | | | Hello Daniel,
First of all, thanks for the comment on the article. Secondly,... | | | | | | hi
i found your article about paginating very useful. i am not a programmer, and i... | | | | | | hi again
i was not able to paste the html file -- may be coz of html tags. but... | | | | | | Hello teeyan,
I'm glad to know that my articles on building up paging links have... | | | | | | hi
thank you for replying. your explanation helped me a lot. instead of changing... | | | | | | Hello again,
Now that the code was fixed up, paging links are working fine. I'm... | | | | | | hey, it was that easy. i should have used my brain.
so i tried to fix a few things... | | | | | | Hello teeyan,
Good to know that your programming issue is already fixed up. With... | | | | | | hi
thank you for all your help. that was the last and only file that had a... | | | | | | oh, the 2nd last line didn't appear. i meant that i put the styleswitcher.js as an... | | | | | | Hello teeyan,
Don't feel dissapointed about web programming because you're really... | | | | | | Hi, has anyone else had the following problem: everything seems to work fine,... | | | | | | Hi, I posted a question yesterday about the class not working for me. I have solved... | | | | | | I'm a new-be to all of this coding
so if you can, please outline for me
what... | | | | | | I like your class Previous or Next? Paginating Records, it appears to be just what... | | | | | | I've used the class succesfuly until the query returned the image (BLOB) from mysql... | | | | | | Thank you for the kind comment on this article. I guess your question was pointed... | | | | | | >>> Post your comment now! | | | | | |
|
 |
|