Solved

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

Posted on 2011-09-20
2
390 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:
gurvinder372 earned 500 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
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…

717 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