Link Details

Link 323287 thumbnail
User 443773 avatar

By ashleyford
via papermashup.com
Published: Dec 19 2009 / 23:19

As a developer you’ll soon find a need to paginate data when displaying contents from the database, and rather than use JavaScript which could require all the data to be loaded into the page on load, we can use PHP to ensure that we’re only requesting the data that we need.
  • 7
  • 3
  • 3732
  • 4

Comments

Add your comment
User 233461 avatar

antych replied ago:

0 votes Vote down Vote up Reply

90's called, they want their code back...
This doesn't take advantage of countless improvements made to PHP over recent years. Good example on how NOT to do it.

User 275943 avatar

OIS replied ago:

0 votes Vote down Vote up Reply

That code is a mess...
Cover your eyes, and walk backwards away from this site!

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (3)



Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java