Click here to Skip to main content
15,890,579 members
Articles / Programming Languages / PHP

Dynamic Pagination

Rate me:
Please Sign up or sign in to vote.
4.22/5 (9 votes)
25 Jan 2010CPOL 13.4K   4  
More validation can be applied when handling default values. I am not a fan of outputing anything directly from a class, I prefer to return the links as an array. It's easier to maintain. This way, when/if you change the styling; then it saves having to trawl through your classes.<?phpclass...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions