Solved

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

Posted on 2011-09-20
2
381 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
  • 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
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36565342
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
change password links 7 72
php ssh2_scp_send 1 47
.php tree directory? 5 55
<? versus <?php 5 36
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now