Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

get Results from serverside inside a Paginate the results in blocks of 10 or 20

Posted on 2011-09-20
2
Medium Priority
?
403 Views
Last Modified: 2012-05-12
Hi i am making a jquery Call like this!

$.ajax({ type:"POST", url:"welcome.php", data: data, success: function (html) { $('#message').html(html); } }); return false;

Now i get data and it may be more than 10000 records, i want to paginate my records within a DIV..

how can i do that, should i try server side pagination, will it work inside that div or should i apply pagination using jquery, will that work here, because all i want it when i paginate, it should paginate within that DIv
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 40

Accepted Solution

by:
Gurvinder Pal Singh earned 2000 total points
ID: 36565335
For 10, 000 records, better use the server side pagination only,
Fetch records from database in paginated manner only
http://www.petefreitag.com/item/451.cfm
http://www.w3schools.com/sql/sql_top.asp
http://www.php-mysql-tutorial.com/wikis/php-tutorial/paging-using-php.aspx
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The most up-to-date version of this article is on my Blog https://iconoun.com/blog/
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question